Table of Contents

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. Automatic Reference Counting
  29. Memory Safety
  30. Access Control
  31. Advanced Operators
  32. Language Reference
  33. About the Language Reference
  34. Lexical Structure
  35. Types
  36. Expressions
  37. Statements
  38. Declarations
  39. Attributes
  40. Patterns
  41. Generic Parameters and Arguments
  42. Summary of the Grammar
  43. Revision History
  44. Document Revision History
  45. Trademarks