Swift is a programming language for creating iOS, macOS, watchOS, and tvOS apps. Swift builds on the best of C and Objective-C, without the constraints of C compatibility. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks, is an opportunity to reimagine how software development works.
This book provides:
- A tour of the language.
- A detailed guide delving into each language feature.
- A formal reference for the language.
Customer ReviewsSee All
After reading just the first few pages, I was hooked to the simple language of Swift and wanted to read each page after the next!
A Great Break from Objective-C
This specification marks a new foundation in iOS/Mac development, where the shackles of distractingly bad language design (merging two wholly-separate languages) and aggressively unclear syntax have been discarded. There’s a lot of hope I hold out for this language, although I would like to see some love for features that other functional hybrids have (such as Mixins from Ruby or Traits from Scala) in future revisions. It is exciting, however, to see the first nail in the coffin for Objective-C.
Just want a PDF
I really just want a PDF of the latest version, but if it’s out there I can’t find it. I want a PDF for portability and so I can scroll in iBooks. (On a Mac, the only way to view this book is the page-flip method, which is ridiculous for a coding guide.) So yeah, I’d like either the option for PDF or the option to scroll this book in iBooks, or both. It’s a terrible User Experience otherwise. Hence 1 (or 0) stars.