Lesson 1
Swift Basics
Get familiar with Swift types and operators, and develop deftness in defining variables and constants.
Course
This course focuses on the syntax of the Swift programming language. By the end of the course, you'll be able to apply Swift essentials to building iOS apps.
This course focuses on the syntax of the Swift programming language. By the end of the course, you'll be able to apply Swift essentials to building iOS apps.
Last Updated March 7, 2022
No experience required
Lesson 1
Swift Basics
Get familiar with Swift types and operators, and develop deftness in defining variables and constants.
Lesson 2
Optionals
The optional type is specific to Swift: declare explicitly and implicitly unwrapped optionals; unwrap optionals using optional binding and optional chaining.
Lesson 3
Collections
Learn about Dictionaries, Arrays, and Sets and perform basic operations including: append, count, insert, remove, update, find, and retrieve.
Lesson 4
Control Flow
Practice fast iteration with for-in loops by iterating through items in Arrays and Dictionaries, also learn how Swift handles if-else and switch statements.
Lesson 5
Functions
Define and call functions, correctly using local and external parameters; identify parameter types and return types.
Lesson 6
Classes, Properties, and Methods
Practice building custom classes with their own properties and methods.
Lesson 7
Enums and Structs
Learn the difference between value types and references types and practice choosing when to use enums, structs, and classes.
Lesson 8
Protocols and Extensions
Learn how protocols and extensions help keep your code DRY. Given code snippets, fix compiler errors by conforming to and implementing appropriate protocols.
Lesson 9
Closure Expressions
Practice using Swift closures with the functions, sorted() and filter(). You'll also learn shorthand to make your closure expressions super concise.
Gabrielle Miller-Messner
Instructor
Gabrielle earned her Ph.D. in Population Biology from UC Davis, where she discovered the joys of programming while analyzing DNA sequences. She has a background in teaching, and worked as an iOS Engineer before joining Udacity.
Gabrielle Miller-Messner
Instructor
Gabrielle earned her Ph.D. in Population Biology from UC Davis, where she discovered the joys of programming while analyzing DNA sequences. She has a background in teaching, and worked as an iOS Engineer before joining Udacity.
Get Started Today