Book description
Get valuable hands-on experience with Swift 3, the latest version of Apple’s programming language. With this practical guide, skilled programmers with little or no knowledge of Apple development will learn how to code with Swift 3 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 basic building blocks and features for object-oriented development
- OS X app development: Set up the document model, build out features, and sync data with iCloud
- iOS app development: Use multimedia, contacts, location, notifications, and iCloud files to build a fully featured iOS Notes app
- Advanced app extensions: Build an Apple Watch app, and learn how to debug, monitor, and test all three of your Swift apps
Publisher resources
Table of contents
- Preface
- I. Swift Basics
- 1. Getting Started
- 2. The Basics of Swift
- 3. Swift for Object-Oriented App Development
- II. A macOS App
- 4. Setting Up the macOS Notes App
- 5. Working with Documents on macOS
- 6. User Interfaces and iCloud
- III. An iOS App
- 7. Setting Up the iOS Notes App
- 8. Working with Files in iCloud
- 9. Working with Documents on iOS
- 10. Working with Files and File Types
- 11. Images and Deletion
- 12. Supporting the iOS Ecosystem
- 13. Multimedia and Location Attachments
- 14. Polishing the iOS App
- IV. Extending Your Apps
- 15. Building a watchOS App
- 16. Code Quality and Distribution
- Index
Product information
- Title: Learning Swift, 2nd Edition
- Author(s):
- Release date: April 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491967065
You might also like
book
Mastering Swift 4 - Fourth Edition
Dive into the latest release of the Swift programming language with this advanced development book for …
book
Python Crash Course, 2nd Edition
This is the second edition of the best selling Python book in the world. Python Crash …
book
SwiftUI for Absolute Beginners: Program Controls and Views for iPhone, iPad, and Mac Apps
Dive into the world of developing for all of Apple platforms with SwiftUI, Apple’s new framework …
book
Learn SwiftUI
Get to grips with Apple's new SwiftUI framework for creating robust UIs for iOS and iPadOS …