Learn Swift Programming Syntax Wiki

Welcome to Swift Syntax!

Need help getting started?


Course Resources

Apple's The Swift Programming Language

Instructions for Downloadable Materials

You can download Supplemental Materials, Lesson Videos and Transcripts from Downloadables (bottom right corner of the Classroom) or from the Dashboard (first option on the navigation bar on the left hand side).

Course Syllabus

Lesson 1: Swift Basics

In this lesson, you'll become familiar with Swift types and operators, and develop deftness in defining variables and constants.

Lesson 2: Optionals

In this lesson, you'll declare explicitly and implicitly unwrapped optionals, and unwrap optionals using both optional binding and optional chaining.

Lesson 3: Collections

In this lesson, you'll learn about Dictionaries, Arrays, and Sets and perform basic operations including: append, count, insert, remove, update, find, and retrieve.

Lesson 4: Control Flow

In this lesson, you'll practice fast iteration with for-in loops by iterating through items in Arrays and Dictionaries. You'll also get experience with if-else statements and switch statements. 

Lesson 5: Functions

In this lesson, you'll define and call functions, correctly use local and external parameters, and identify parameter types and return types.

Lesson 6: Classes, Properties, and Methods

In this lesson, you'll practice building custom classes with their own properties and methods.

Lesson 7: Enums and Structs

In this lesson, you'll learn the difference between value types and references types and practice choosing when to use enums, structs, and classes.

Lesson 8: Protocols and Extensions

In this lesson, you'll learn how protocols and extensions can help keep your code DRY.  Given a series of code snippets, you'll fix compiler errors by conforming to and implementing the appropriate protocols. 

Lesson 9: Closures

In this lesson, you'll practice using Swift closures with the functions, sorted() and filter(). You'll also learn shorthand to make your closure expressions super concise.


Thank you to production lead, Trish McCallister, for video production and editing, with oversight from Kim Dryden. This course would not exist without their hard work and dedication. We are so lucky to have such a talented production team.