Swift Handbook
Before diving into iOS or macOS frameworks, having a clear grip on Swift optionals, structs, protocols, closures, and Swift 6 concurrency saves hours of compiler headaches.
This handbook introduces modern Swift 6.4 cleanly and practically, whether you are coming from JavaScript, Python, or picking up your first compiled language.
Table of contents (16 chapters)
- Introduction and setting up Swift 6.4
- Variables, constants, comments, and semicolons
- Numbers, booleans, and strings
- Operators and expressions
- Optionals and nil
- Control flow: if, switch, guard, and loops
- Collections and tuples
- Functions and closures
- Structures and enumerations
- Classes, inheritance, and ARC
- Protocols, extensions, and generics
- Error handling and typed throws
- Concurrency and Swift 6 data-race safety
- Ownership, macros, and modern Swift 6.4 features
- Swift Package Manager and Swift Testing
- Where to go from here
Get the Swift Handbook for free: subscribe to my newsletter and I'll send it your way, together with all my other free programming ebooks.
Want the whole collection? See all my free ebooks.
By subscribing you agree to receive my newsletter (new tutorials, book releases, and courses). You can unsubscribe anytime from the link at the bottom of every email. Your email is the only data collected, stored securely in the EU, and never shared.