The Swift Programming Language (6.4 beta)
Write safe, fast, expressive code with a modern, general-purpose language.
Topics
Welcome to Swift
Language Guide
The BasicsBasic OperatorsStrings And CharactersCollection TypesControl FlowFunctionsClosuresEnumerationsClasses And StructuresPropertiesMethodsSubscriptsInheritanceInitializationDeinitializationOptional ChainingError HandlingConcurrencyMacrosType CastingNested TypesExtensionsProtocolsGenericsOpaque TypesAutomatic Reference CountingMemory SafetyAccess ControlAdvanced Operators
Language Reference
About The Language ReferenceLexical StructureTypesExpressionsStatementsDeclarationsAttributesPatternsGeneric Parameters And Arguments- Summary Of The Grammar