Master Apple's new Swift programming language by following the best practices to write efficient and powerful code
Swift is Apple's new innovative and user-friendly development language, which is packed with modern features to make programming easier, fun, and flexible.
This book begins by giving you a solid Introduction to the Swift programming language so you can quickly begin developing applications using this interesting language. It also covers advanced topics such as Objective-C interoperability, ARC, closures, and concurrency. Each concept covered is backed up with example code and demonstrates how to properly execute it. Next, you will be taught about all of the advanced features of Swift, and its interaction with Apple's APIs and libraries. You'll then learn to interact with REST-based web services using Swift. We will conclude the book by getting equipped to design and build applications using established design patterns.
What You Will Learn
Prototype and test code in a Playground
Understand the basics of Swift, including operators, collections, control flows, and functions
Create and use Classes, Structures, and Enums, including object-oriented topics such as inheritance, protocols, and Extensions
Dwell into Subscripts, Optionals, and closures with real-world scenarios
Employ Grand Central Dispatch to add concurrency to your applications
Study the Objective-C interoperability with mix and match
Access network resources using Swift
Implement various standard design patterns in the Swift language
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.