A Swift Kickstart (Second Edition)
Introducing the Swift Programming Language
Daniel H Steinberg
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.
“A Swift Kickstart” is the perfect book for the experienced developer who wants to get serious about learning the Swift programming language.
As the language matures and improves, this book changes to reflect the latest best practices and coding style. This second edition to the best-selling Swift introduction has been updated to the very latest public Swift 3 release.
It's never been easier to get started with Swift as this edition supports the new iOS Swift Playgrounds along with improved support for Xcode playgrounds. This means you can code along on a Mac or an iPad.
The book begins with an introduction to basic components of programming in Swift: functions, variables and constants, collections, and types from the Swift Standard Library.
In the second part, we create and use our own enumerations, structs, classes, and protocols.
Working your way through this book is a great way to learn the language of the iPhone, iPad, Mac, Apple Watch, and Apple TV.
What's New in Version 0.4.0.0
This version includes updates to Xcode 8.3, support for Swift 3.1, two new sections, and over a dozen fixes in response to user reported errata. Thank you! There is a new section that covers the open keyword as well as demonstrates how to declare a property to be publicly readable but only privately writeable. A second section explores capture lists for closures to allow for more careful control over the memory attributes of captured values. Enjoy!