Swift Reference
A community-maintained reference manual for the Swift programming language.
Introduction
Terminology
Document Structure
Syntax Notation
Conventions
References
Syntactic Elements
References
Scope and Name Lookup
References
Programs and Linkage
References
Memory, Instances, and References
References
Types
References
Program Execution
References
Expressions
References
Statements
Simple Statements
Expression Statement
Declaration Statement
Compiler Control Statements
Control Flow Statements
Loop Statements
Branch Statements
Labeled Statements
Control Transfer Statements
Defer Statement
Do Statement
References
Declarations
References
Modules
References
Value Types
References
Reference Types
References
Overloading
References
Generics
References
Error Handling
References
Conditional Compilation
References
Introduction
Terminology
Document Structure
Syntax Notation
Conventions
Where a term is defined, it appearse in
boldface
.
References
Swift Repository,
LangRef.html
Swift Repository,
LangRefNew.rst