Learning Swift: Building Apps for OS X and iOS
- Length: 536 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2016-05-26
- ISBN-10: 1491940743
- ISBN-13: 9781491940747
- Sales Rank: #1523440 (See Top 100 Books)
Get hands-on experience with Apple’s Swift programming language by building real working apps. With this practical guide, skilled programmers with little or no knowledge of Apple development will learn how to code with Swift 2 by developing three complete, tightly linked versions of the Notes application for the OS X, iOS, and watchOS platforms.
In the process, you’ll learn Swift’s fundamentals, including its syntax and features, along with the basics of the Cocoa, CocoaTouch, and WatchKit frameworks. This book teaches you how to use common design patterns for Swift, how to structure an application for Apple’s platforms, and how to submit working apps to the App Store.
Divided into four distinct parts, this book includes:
- Swift 2 basics: Learn Swift’s features for object-oriented development, as well as various developer tools
- OS X app development: Set up your app, work with its documents, and build out its features
- iOS app development: Use multimedia, contacts, location, notifications, and iCloud files to build a fully featured iOS Notes app
- Advanced app extensions: Support Apple Watch and learn how to debug, monitor, and test all three of your Swift apps
Table of Contents
Part I. Swift Basics
Chapter 1. Getting Started
Chapter 2. The Basics of Swift
Chapter 3. Swift for Object-Oriented App Development
Part II. An OS X App
Chapter 4. Setting Up the OS X Notes App
Chapter 5. Working with Documents on OS X
Chapter 6. User Interfaces and iCloud
Part III. An iOS App
Chapter 7. Setting Up the iOS Notes App
Chapter 8. Working with Files in iCloud
Chapter 9. Working with Documents on iOS
Chapter 10. Working with Files and File Types
Chapter 11. Images and Deletion
Chapter 12. Supporting the iOS Ecosystem
Chapter 13. Extending iOS Apps
Chapter 14. Multimedia, Contacts, Location, and Notifications
Chapter 15. Polishing the iOS App
Part IV. Extending Your Apps
Chapter 16. Building a watchOS App
Chapter 17. Code Quality and Distribution