The Swift Programming Language (Swift 3.0.1)
Swift Programming Series
This book is available for download with iBooks on your Mac or iOS device, and with iTunes on your computer. Books can be read with iBooks on your Mac or iOS device.
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.
Looking forward to this
Judging from the excellent demos at WWDC, this should be a fascinating read given Apple's good job with past reference materials.
Best Apple Documentation I have read yet
Granted, I have not read everything that Apple has written. For instance, I have not been able to try my hand at the SpriteKit Documentation which looks like it takes a tutorial approach (I would love it, if it is). That aside, Apple’s documentation is, usually, really cryptic and filled with “read this first” then “no this one” and finally “go back to the first one first” and when you finally pick one, you don’t really feel like you’ve learned anything after reading it. THIS IS COMPLETELY DIFFERENT AND AWESOME!!! I have read this cover to cover and feel like I really understood what Swift is about, how to use it, and why I should be excited to start using it in my programs.
The caveat is that, though I felt like I understood the language after reading this book, that does not mean that there were not some confusing moments that eventually panned out. For instance, each major language feature is revisted several times throughout the book. This made it a little hard to read than need be. You would be reading and think, “Haven’t I already seen this… no that’s different there…” then as I kept reading I would realize, “oooooh, there just taking a previous concept from many, many pages ago and taking it further”. This is fine, but would have been a LOT easier and more concise to NOT breakup the concepts quite so much. You want to tell me about protocols? Let’s talk about them--all about them. Oh, now some extensions? Ok, let’s cover all of that, too. Instead, it was a little let and var, then classes, then protocols, then back to let var, now extension, oh wait, I had more to say about those protocols…
Really, this is just a style thing. By the end of the book, I still understood Swift (resonably well for a first read-through without Xcode6/Yosemite). I look forward to seeing how the language evolves from here. I’m very excited about it and I hope that “The Swift Progamming Language” is updated appropriately through the years (something Apple’s documentation has NOT done well in general and leads to confusing, out-of-date material). Here’s hoping Swift and it’s documentation do great things for programming.
Excited to learn Swift!
As an iOS and OS X developer, I am glad to have a better alternative to Objective-C that shows me my results in real time. I am very excited to learn this new language quickly (I have taken a preview, and it is much like Objective-C in terms of syntax)
Other Books in This Series
- Category: Programming
- Published: Jun 02, 2014
- Publisher: Apple Inc.
- Seller: Apple Inc.
- Print Length: 500 Pages
- Language: English
- Series: Swift Programming Series