Language reference
If you are new to Swift, you may want to check out these additional resources.
The Swift Programming Language Book
The Swift Programming Language is the authoritative reference for Swift, offering a guided tour, a comprehensive guide, and a formal reference of the language.
We welcome your contributions to the book — pull requests, new issues, and comments on existing topics — in the book’s repository.
Translations
We encourage you to participate in translating The Swift Programming Language into other languages. Get involved with an existing translation project, or start a new one.
If you know of a quality translation project underway, please let us know on the Swift.org repository by opening an issue or submitting a Pull Request.
The Swift Programming Language, Copyright © 2014-2025 Apple Inc.
Swift and the Swift logo are trademarks of Apple Inc.
Documentation for Swift 6.0.3
https://www.swift.org/documentation/tspl/