Table of Contents

Table of Contents

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