Learn Swift

Swift is Apple's modern programming language for building iOS, iPadOS, and macOS applications. It was designed to be safer and more concise than Objective-C, and is the standard starting point for anyone building for Apple platforms today.

What this path covers

25 chapters, in reading order: values and syntax, control flow, functions, collections, objects, error handling, and a small combined project, followed by intermediate topics (debugging, files, APIs, async, project structure, state) and advanced topics (architecture, testing, security, performance, deployment, and a full real-project walkthrough).

Start here

Swift foundations — The mental model for reading a program: values, statements, output, and program flow.

Full chapter list

  1. Swift foundationsBeginner
  2. Swift syntax and data typesBeginner
  3. Swift variables and valuesBeginner
  4. Swift operators and expressionsBeginner
  5. Swift conditions and decisionsBeginner
  6. Swift loops and repetitionBeginner
  7. Swift functions and reusable logicBeginner
  8. Swift arrays, lists, maps, and setsBeginner
  9. Swift objects and classesBeginner
  10. Swift error handling and debuggingBeginner
  11. Swift basic projectBeginner
  12. Swift debugging step by stepIntermediate
  13. Swift files, JSON, and local dataIntermediate
  14. Swift APIs and HTTPIntermediate
  15. Swift async programmingIntermediate
  16. Swift project structure and modulesIntermediate
  17. Swift state managementIntermediate
  18. Swift best practices and clean codeIntermediate
  19. Swift software architectureAdvanced
  20. Swift testing behaviorAdvanced
  21. Swift security foundationsAdvanced
  22. Swift performance and measurementAdvanced
  23. Swift deployment and releaseAdvanced
  24. Swift real project walkthroughAdvanced
  25. Swift real-world patterns and advanced conceptsAdvanced
Open the interactive lesson reader →