Learning Swift: Building Apps for OSX, iOS, and Beyond, 2nd Edition
- Length: 450 pages
- Edition: 2
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2017-02-25
- ISBN-10: 1491967064
- ISBN-13: 9781491967065
- Sales Rank: #622260 (See Top 100 Books)
Dive into Swift 3, the latest version of Apple’s easy-to-use programming language for macOS, iOS, watchOS, and tvOS. With this practical guide, you’ll quickly get up to speed on language basics and then use Swift to build three complete apps, all tightly linked together: an iOS note-taking app, its OS X counterpart that uses iCloud to sync data, and an app for the Apple Watch that makes the user’s data available at a moment’s notice.
You’ll learn not only how to write code in Swift, but also why Swift works the way that it does, and how to build upon its foundations. Then you’ll explore Swift in the wider world, including open-source frameworks that your apps can use, how to use app extensions make your app play nice with other apps, and how to take Swift beyond Apple’s domain with open-source Swift tools.
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 and Location attachments]
Chapter 15. Polishing the iOS App
Part IV. Extending Your Apps
Chapter 16. Building a watchOS App
Chapter 17. Code Quality and Distribution