Table of Contents

  1. Welcome to Swift
  2. About Swift
  3. Version Compatibility
  4. A Swift Tour
  5. Language Guide
  6. The Basics
  7. Basic Operators
  8. Strings and Characters
  9. Collection Types
  10. Control Flow
  11. Functions
  12. Closures
  13. Enumerations
  14. Structures and Classes
  15. Properties
  16. Methods
  17. Subscripts
  18. Inheritance
  19. Initialization
  20. Deinitialization
  21. Optional Chaining
  22. Error Handling
  23. Type Casting
  24. Nested Types
  25. Extensions
  26. Protocols
  27. Generics
  28. Opaque Types
  29. Automatic Reference Counting
  30. Memory Safety
  31. Access Control
  32. Advanced Operators
  33. Language Reference
  34. About the Language Reference
  35. Lexical Structure
  36. Types
  37. Expressions
  38. Statements
  39. Declarations
  40. Attributes
  41. Patterns
  42. Generic Parameters and Arguments
  43. Summary of the Grammar
  44. Revision History
  45. Document Revision History
  46. Trademarks