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
Learning Swift, 3rd Edition
Get valuable hands-on experience with Swift, the open source programming language developed by Apple. With this …
book
Learning Swift
Get hands-on experience with Apple’s Swift programming language by building real working apps. With this practical …
book
Swift 2 for Absolute Beginners
Swift 2 for Absolute Beginners is perfect for those with no programming background, those with some …
book
Swift Style
Discover the do's and don'ts involved in crafting readable Swift code as you explore common Swift …