Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

3 Days of Swift © 2026 3DaysOfSwift.com. All rights reserved.

This Repo

This repository contains the conversion of TSPL Book into an Xcode playground. Enjoy!

The Swift Programming Language (TSPL) Book

https://docs.swift.org/swift-book/documentation/the-swift-programming-language Apple's official book was originally published as a physical hardback book. From version 5.7 this book has been discontinued and will no longer be supported on the iBook Store.

Swift.org uses the book as online documentation also known as the "language reference guide".

This repo contains the code from the book as an Xcode playground with one playground page for each of the 29 chapters in the book describing the Swift programming language and how to use it.

Download the Xcode Playground Version at 3DaysOfSwift.com.

Official Book Contents

Apple created TSPL to discuss and describe the following language features.

  1. The Basics
  2. Basic Operators
  3. Strings and Characters
  4. Collection Types
  5. Control Flow
  6. Functions
  7. Closures
  8. Enumerations
  9. Structures and Classes
  10. Properties
  11. Methods
  12. Subscripts
  13. Inheritance
  14. Initialization
  15. Deinitialization
  16. Optional Chaining
  17. Error Handling
  18. Concurrency
  19. Macros
  20. Type Casting
  21. Nested Types
  22. Extensions
  23. Protocols
  24. Generics
  25. Opaque Types
  26. Automatic Reference Counting
  27. Memory Safety
  28. Access Control
  29. Advanced Operators

3 Days of Swift

Website | Subreddit Community

© 2026 3DaysOfSwift.com. All rights reserved.

Built for professional iOS developers.

👩🏿‍💻🧑🏻‍💻🙋🏿‍♀️🧑🏼‍💻👩🏼‍💼👩🏽‍💻🧑🏿‍💻💁🏼‍♀️👩🏼‍💻👨🏼‍💻👨🏽‍💻🙋🏽‍♂️👩🏻‍💻🧑🏾‍💻👩🏻‍💻👩🏾‍💻👨🏼‍💻🙋🏻‍♂️👨🏿‍💻🙋🏼‍♂️

About

The Xcode playground conversion of the official Apple book on Swift - The Swift Programming Language.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages