Reading 3 : Swift Reading
Table Of Contents
Swift Programming Language
Read the sections described below in the The Swift Programming Language: Language Guide. The goal of this reading is not to learn every aspect of Swift, but rather to learn the basics, become familiar with the documentation and where to find details of specific features, and to see lots of examples. To better emphasize important concepts, the sections in the reading have been annotated with three colors:
- Very Important : Read these carefully. They may more subtle than other parts but are important.
- Important : Read these carefully as well, but they should be easier to understand.
- Optional : Not required for now.
The Basics
- Error Handling
Control Flow
- Control Transfer Statements
- Continue
- Labeled Statements
- Checking API Availability
Functions
- Function Argument Labels and Parameter Names
- Variadic Parameters
- In-Out Parameters
Closures
- Escaping Closures Autoclosures
- Autoclosures
Enumerations
- Raw Values
- Recursive Enumerations
Subscripts
- Subscript Options
Deinitialization
Optional Chaining
Error Handling
Type Casting
Extensions
- Subscripts
Protocols
- Checking for Protocol Conformance
- Optional Protocol Requirements
Automatic Reference Counting
Memory Safety
Advanced Operators
Swift API Guidelines
Revisit the Swift API Design Guidelines.