- ISBN13: 978-1-484204-07-8
- 240 Pages
- User Level: Beginner
- Publication Date: December 24, 2014
- Available eBook Formats: EPUB, MOBI, PDF
Transitioning to Swift is a fast-paced 200-page guide that will help you get up to speed quickly on Apple’s new programming language for building the next generation of apps for Apple devices. It examines the similarities and differences between Swift and traditional Objective-C based programming, and builds upon your existing Objective-C skills to help you efficiently and successfully transition to writing powerful, expressive, and flexible code in Swift.
Developing apps for Apple’s broadening platform of devices is an exciting topic these days. Apple created the Swift programming language to build state-of-the-art apps using the latest Apple technologies.
In this 200-page book, author Scott Gardner articulates the similarities and differences between traditional Objective-C based programming and Swift, revealing what you need to know from syntax changes to emerging best practices and paradigm shifts, to write powerful, expressive, and flexible code in Swift.
Written at a brisk pace and in a methodical style, you’ll learn how to apply your Objective-C skills to successfully transition to programming in Swift.
What you’ll learn
• What is Swift and how does it compare to Objective-C
• How to become proficient in Swift by leveraging your existing Objective-C skills
• How to take advantage of new capabilities in Swift
• What are the emerging best practices in Swift programming
Who this book is for
This book reaches out to all developers who are interested in creating state-of-the-art apps for Apple’s broadening platform of devices for both consumers and enterprise. Apple’s introduction of the new Swift programming language raises many questions. This book addresses those questions directly, and prepares developers for building the next generation of apps in Swift to surprise and delight users the world over.
Table of Contents
1. Getting Started
2. Declaring Variables and Constants
3. Working with Strings and Collections
4. Performing Operations
5. Controlling Program Flow
6. Creating Functions
7. Constructing Classes, Structures, and Enumerations
8. Defining and Adopting Protocols
9. Subclassing and Extending
10. Controlling Access
11. Programming in Generics