Swift is a new programming language for creating iOS, OS X, 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.
it’s good! But i hav to point out one (possible) error.
Language Guide >> The Basics >> Optionals [page: 86]
let possibleNumber = "123"
let convertedNumber = Int(possibleNumber)
// convertedNumber is inferred to be of type "Int?", or "optional Int”
I think it’s a typing error in your book.
why is this called swift 4 when it says it was published in 2015 and swift 4 just came out in 2017.
Swift is clearly a labor of love, attempting to solve some real problems and simultaneously expose a generation of programmers to some higher order functions. A great update to a growing language!