SkillByAIOpen interactive version →

Swift

Learn Swift 6: optionals, structs, enums, protocols, generics, closures, error handling, ARC, async/await, actors and data-race safety, with SwiftUI basics.

Start course →

What you'll learn

Syllabus

Getting Started with Swift

  1. What Swift Is and Where It Runs
  2. Xcode, Playgrounds and the Swift Package Manager
  3. Constants, Variables, Types and Strings

Optionals, Control Flow and Collections

  1. Optionals
  2. Control Flow and Pattern Matching
  3. Arrays, Dictionaries, Sets and Functional Operations

Structs, Enums and Classes

  1. Structs and Value Semantics
  2. Enums with Associated Values
  3. Classes, Inheritance and Initialisation

Functions, Closures and Errors

  1. Functions and Argument Labels
  2. Closures and Capture Lists
  3. Error Handling

Protocols, Extensions and Generics

  1. Protocols and Extensions
  2. Generics, Associated Types, some and any
  3. Codable, Equatable, Hashable and Comparable

Memory, Access Control and Language Features

  1. Automatic Reference Counting
  2. Access Control and Modules
  3. Property Wrappers, Result Builders and Macros

Concurrency

  1. async/await and Structured Concurrency
  2. Actors, MainActor, Sendable and Swift 6 Data-Race Safety
  3. Cancellation and AsyncSequence

Apps, Testing, Ecosystem and Revision

  1. A First Look at SwiftUI
  2. Testing with Swift Testing and XCTest
  3. Beyond Apple Apps: Server Swift, Interop and Cross-Platform
  4. Revision and Interview Questions