Welcome to Swift
- About Swift
- A Swift Tour
Language Guide
- The Basics
- Basic Operators
- Strings and Characters
- Collection Types
- Control Flow
- Functions
- Closures
- Enumerations
- Classes and Structures
- Properties
- Methods
- Subscripts
- Inheritance
- Initialization
- Deinitialization
- Automatic Reference Counting
- Optional Chaining
- Error Handling
- Type Casting
- Nested Types
- Extensions
- Protocols
- Generics
- Access Control
- Advanced Operators
Language Reference
- About the Language Reference
- Lexical Structure
- Types
- Expressions
- Statements
- Declarations
- Attributes
- Patterns
- Generic Parameters and Arguments
- Summary of the Grammar
Revision History
- Document Revision History