The Swift Programming Language (Swift 5.7)
Publisher Description
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 Reviews
nice !!
semi geek as a hobby wanting to learn how to code, now with a new language and a solid platform to code and make apps for, perfect for developers and beginners alike, thank you apple for making this guide !!!
I’m loving it!
@postfix func ++ (inout str: String) { str += "!" }
var result = "Swift == " + join(" ", sort(["blown", "mind"], >))
result++
A well written introduction and reference guide
I’ve often wished that there was a native language for IOS development that wasn’t burdened with Objective C’s odd syntax, and its backwards compatibility with C.
This book starts with a nice overview of the language, which should be enough to get experienced developers going. Further chapters expand on the material presented in the first chapter, and the book finishes with a language reference that is reminescent of BNF, but easier to read.
The language itself is much like Java or C#. Apple promises run-time compatibility with Objective C binaries, which would be a welcome alternative to Java’s JNI for integrating with code written in C.