The Swift Programming Language (Swift 5.0)
Swift Programming Series
This book can be downloaded and read in Apple Books 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.
What's New in Version 5.0
- Updated for Swift 5.0. - Added the Extended String Delimiters section and updated the String Literals section with information about extended string delimiters. - Added the dynamicCallable section with information about dynamically calling instances as functions using the dynamicCallable attribute. - Added the unknown and Switching Over Future Enumeration Cases sections with information about handling future enumeration cases in switch statements using the unknown switch case attribute. - Added information about the identity key path (\.self) to the Key-Path Expression section. - Added information about using the less than (<) operator in platform conditions to the Conditional Compilation Block section.
I have never done computer programming in the past. The book ‘The Swift Programming Language’ book has helped me understand code and I cant wait to start creating. I would reccomend to anybody who is new to programming to take a look at the book, I have found it really interesting!
This book serves as a masterclass in clarity and approachability.
The language is explained with genuinely relevant examples to the topics in hand, not artificial examples. This means you can glance the source code examples quickly and then flip back to the motivation and explanations. This is the greatest strength of the book.
The tone of the book is of a highly approachable tutor with practical advice. When other languages are referenced, its always to add color and contrast to the approach used, and is never unfair nor superior in its tone.
This book will sit well in amongst the existing pillars (The C Programming Language, The Java Programming Language, The C++ Programming Language) in the computer science cannon, and readers will be able to see the influence of these prior works.
Apple have refined the toolset and given developers an unparalleled opportunity to speak a new language. This guide is well thought out, comprehensive and sufficiently robust to keep seasoned experts and newcomers fully engaged.
- Category: Programming
- Published: 02 June 2014
- Publisher: Apple Inc.
- Print Length: 500 Pages
- Language: English
- Series: Swift Programming Series
- Version: 5.0