Download The Xcode playground version of the book
Xcode Conversion
TSPL Book v5.7 is now an Xcode Playground
We extracted out the contents of the Swift v5.7 book (The Swift Language Guide section) and converted it into executable Xcode playground pages.
Why not download it to add to your code collection?
The Swift Programming
Language (TSPL) Book

Chapter 1: The Basics
Chapter 2: Basic Operators
Chapter 3: Strings and Characters
Chapter 4: Collection Types
Chapter 5: Control Flow
Chapter 6: Functions
Chapter 7: Closures
Chapter 8: Enumerations
Chapter 9: Structures and Classes
Chapter 10: Properties
Chapter 11: Methods
Chapter 12: Subscripts
Chapter 13: Inheritance
Chapter 14: Initialization
Chapter 15: Deinitialization
Chapter 16: Optional Chaining
Chapter 17: Error Handling
Chapter 18: Concurrency
Chapter 19: Macros
Chapter 20: Type Casting
Chapter 21: Nested Types
Chapter 22: Extensions
Chapter 23: Protocols
Chapter 24: Generics
Chapter 25: Opaque and Boxed Protocol Types
Chapter 26: Automatic Reference Counting
Chapter 27: Memory Safety
Chapter 28: Access Control
Chapter 29: Advanced Operators
Each link opens Swift.org to a page in The Swift Programming Language Book.
Apple stopped support for their physical and digital ePub book on Swift version 5.7 and instead now maintain an online HTML version which is often updated.
If you would like to own a copy of the original, including the Xcode playground file (A Swift Tour) distributed with the physical book then you can download it below.


