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
Deciphering Data Architectures
Data fabric, data lakehouse, and data mesh have recently appeared as viable alternatives to the modern …
book
Building Micro-Frontends
What's the answer to today's increasingly complex web applications? Micro-frontends. Inspired by the microservices model, this …
book
Modern Software Engineering: Doing What Works to Build Better Software Faster
Improve Your Creativity, Effectiveness, and Ultimately, Your Code In Modern Software Engineering, continuous delivery pioneer David …
book
Mastering Swift 5.3 - Sixth Edition
A comprehensive guide for programming enthusiasts who wish to gain a firm command of the fundamentals …