Notice: Undefined index: understanding-swift in /var/sites/hackingwithswift.com/site/src/Controller/NewBooksReadController.php on line 89
The Zen of Swift - a free tutorial

NEW: Subscribe to Hacking with Swift+ and accelerate your learning! >>

The Zen of Swift

Paul Hudson    @twostraws   

Swift is a modern, powerful, brilliant programming language that you can use to build apps for iPhone, iPad, Apple Watch, Apple TV, Mac, and more. Although it’s not an easy language to learn compared to some others, it does allow you to build any app you can dream of while also being an extraordinary valuable skill for a future career if you wanted.

I’ve written many books about Swift that focus on the how of coding – how do you embed interactive maps in your user interfaces, how do you create custom graphics, and so on. This book is different, because it’s focusing on the why of Swift: it’s designed to explain why all the key language features are important and useful, so you can understand them in a practical context.

This book has partly been designed to accompany the variety of beginner courses I have produced, such as Swift in Sixty Seconds and the 100 Days of Swift and SwiftUI. Those courses are designed to give you practical experience building things with Swift, but when you’re just starting out you’ll find yourself asking questions like “I get that Swift has functions, but why does it have them?”

Well, this book is designed to answer them all. Yes, there will be some more code here, but always with the purpose of explaining to why a particular feature is useful in practical software development.

I’ve tried to make this book as accessible as possible, but that doesn’t mean I have oversimplified things. Instead, I’ve just tried to assume nothing about readers (so you can read any chapter of the book in whatever order you want), while also keeping my language and examples as clear and straightforward as possible.

Anyway, I hope this proves useful for you – Swift is so much fun to work with, and I hope that this book plus my practical hands-on tutorials can combine to help you achieve your goals with Swift faster than ever.

Hacking with Swift is sponsored by Instabug

SPONSORED Are you tired of wasting time debugging your Swift app? Instabug’s SDK is here to help you minimize debugging time by providing you with complete device details, network logs, and reproduction steps with every bug report. All data is attached automatically, and it only takes a line of code to setup. Start your free trial now and get 3 months off exclusively for the Hacking with Swift Community.

Start your free trial!

Sponsor Hacking with Swift and reach the world's largest Swift community!

BUY OUR BOOKS
Buy Pro Swift Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift (Vapor Edition) Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Server-Side Swift (Kitura Edition) Buy Beyond Code

Was this page useful? Let us know!

Link copied to your pasteboard.