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. Concurrency
  24. Type Casting
  25. Nested Types
  26. Extensions
  27. Protocols
  28. Generics
  29. Opaque Types
  30. Automatic Reference Counting
  31. Memory Safety
  32. Access Control
  33. Advanced Operators
  34. Language Reference
  35. About the Language Reference
  36. Lexical Structure
  37. Types
  38. Expressions
  39. Statements
  40. Declarations
  41. Attributes
  42. Patterns
  43. Generic Parameters and Arguments
  44. Summary of the Grammar
  45. Revision History
  46. Document Revision History
  47. Trademarks