Swift and iOS from scratch: coding like a pro

iOS App Development - build apps like a professional. Do not just use the language and API, understand it.
4.6 (27 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,062 students enrolled
$20
Take This Course
  • Lectures 43
  • Contents Video: 2 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 11/2014 English

Course Description

A course for developers who want to create their iOS applications using good practices, while avoiding some traditional code smells.

For first time iOS developers, this course will guide you through several parts of the the language and the API, how and why to use them properly. Avoid common iOS and developers mistakes while building a real world application. The number of applications is not the goal here: a good, well written app is what we are looking for.

In this course you will learn the basics that will allow you to understand what you are building: how and why. You don't really know something until you learn why.

If you already develop for iOS, but are tired of developing applications that are costly to mantain, tired of writing code noone else understands, or even the simplest change requires too much energy, this course will fit your needs: learn how to avoid those mistakes using features both from the language and the API.

You will learn Swift, the iOS API, good practices, design patterns and code smells. You will not just learn how to use, but understand what and why you are using it. As a newcomer, learn storyboards and view components, as a pro learn about why constants matter, why object orientation matter and more.

Understanding what is going on is the difference between a language and API user and a professional programmer. This is our goal, let's understand Swift and iOS development.

What are the requirements?

  • Download XCode
  • Know how to program in any other programming language

What am I going to get from this course?

  • Develop your iOS app
  • Use good practices
  • Identify code smell
  • Use design patterns
  • Code like a professional, know your language and API

What is the target audience?

  • This course is meant for new iOS developers who want to learn how to write apps using good practices
  • This course is meant for swift developers who do not have experience on good practices, design patterns or code smells
  • This course is NOT meant for developers who want to write bad code that is hard to maintain on the long term. There will be no global vars or similar shortcuts for bad programming.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: A first app
A project based course
00:48
ViewController, Project Navigation, UI Labels and simulating an iPhone
Preview
05:16
Changing metrics: placeholder and keyboard type
Preview
02:30
Interface Builder, UIButtons, and binding events with @IBActions
Preview
05:19
Variables and String interpolation
Preview
02:14
Language feature discussion: type inference
Preview
01:17
Binding UI components with @IBOutlet, properties and optionals
Preview
05:59
Summing up
01:58
Section 2: The swift language
The language, why?
00:57
The playground: Strings and the console
02:57
Constants with let, "redefining" variables
01:56
Code smell: Comments
02:10
Meal: String and Int types, type inference
02:05
Item: Double and Bool types
01:49
Defining, invoking and the result of functions
01:58
Function with parameters
01:50
Summing up
01:12
Section 3: Arrays
Defining, initializing and randomly accessing arrays
02:42
The for loop
01:04
Iterating over an array with several for constructs
02:37
Returning values from a function and implicit typing issues
04:14
Code smell: Implicit typed arrays
03:11
Summing up
01:46
Section 4: User Interface: Tables
Classes, objects and properties: our meal
04:53
Constants and objects
02:35
Optional properties with ?
03:47
When is being optional a bad thing?
03:28
If/else, extracting and checking for optional values
03:03
The if let construct, a safer way to access optional values
02:22
Defining optionals with !
01:20
XCode bugs and why swift non-optional default is amazing
Preview
02:14
Optionals on method returns
01:36
Summing up
Preview
01:52
Section 5: Object oriented programming
Good practice: the good citizen and initializers
Preview
05:31
Good citizen: Item
Preview
01:39
One to many relationship and methods
03:17
Instantiating our meal and items
03:20
Summing up
05:25
Section 6: Language good practices applied to our project
Creating our Meal and Item
05:08
Constants for constant valids
01:16
Organizing our project into groups
04:18
Using objects and testing for optionals
06:34
Summing up: good practices applied
01:18

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Guilherme Silveira, Software development educator at Alura

As a software developer I was tired of "language tutorials" and "bad practices courses". What about you? I want my students to finish a course and become capable of judging what is good and bad for their software, both on the short and long run. They should understand what they are doing, not just make use, but own their language and tools.

I have worked as a software development educator for the past 12 years, with experience in several countries, programming languages and environments. Learning how to program should be done as we learn things in real life: with real examples and a parental guide on what is good and what is bad for us.

My mobile experience started with Java ME in the early 2000's, went through Android and I have finally reached iOS development when Swift was first announced. I was given the task to write our company's main product iOS version using Swift and that experience together with many other language and API experiences can be seen in my courses.

I have closely worked with several user groups and communities in Brazil, where I was lucky to be invited to give talks at many conferences, including QCon, AgileBrazil etc. I am also the co-organizer of a well-known brazilian mobile development conference, MobileConf.

I am the cofounder of the biggest Brazilian web site on software development questions and answers, GUJ, creator of VRaptor, a java community expert on some JSRs and cofounder of Brazilian's tech book publishing company Casa do Código.

You can find more information about my career at my linkedin page.

Finally, as a personal note, I am a language lover, feel free to find me at twitter and chat in portuguese, korean, english, french or german, or follow my korean weekly blog.

Ready to start learning?
Take This Course