Free course
Swift Course
Learn Swift fundamentals through values, optionals, control flow, collections, functions, structures, enumerations, classes, and protocols.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
Your progress
of lessons completed.
Course completed.
What you'll learn
Write small Swift programs and model data deliberately with values, collections, functions, structures, enumerations, classes, and protocols.
Course contents
Start with Swift
Understand the language, constants, variables, Booleans, and number types.
Values and types
Work with strings, optionals, tuples, assignment, comparison, and other operators.
Control flow
Make decisions and repeat work with if, switch, for-in, and while.
Collections and functions
Organize values with arrays, sets, dictionaries, and reusable functions.
Model your program
Choose structures, enumerations, classes, and protocols for clear program models.