SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
This eBook includes the following formats, accessible from your Account page after purchase:
EPUB The open industry format known for its reflowable content and usability on supported mobile devices.
PDF The popular standard, used most often with the free Acrobat® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
Create Breakthrough Apple Watch Apps with the WatchKit Framework
With its Apple Watch and WatchKit framework, Apple is challenging developers to build exciting and innovative apps for Apple Watch. iOS developers who master Apple Watch programming now will have the same huge “early mover” advantage that early iPhone developers enjoyed. Learning WatchKit Programming is a complete, hands-on tutorial for all iOS developers who are ready to design and build tomorrow’s hottest new wearable apps.
Leading iOS development trainer and author Wei-Meng Lee covers all of the fundamentals of Apple Watch development and the WatchKit API, from application architecture and design to navigation, notification, and glances. Using practical Swift code examples designed for clarity and simplicity, Lee guides you through building apps from the ground up and shows you how to integrate those apps with the iPhone for expanded capabilities.
The perfect companion to other mobile development books in the Learning Series, this guide helps you extend your iOS skills to a whole new environment, build apps that solve a new set of problems, and reach millions of people in the new Apple Watch marketplace
Coverage includes
All of this book’s sample Swift code is available for download at informit.com/title/9780134195445.
Creating Custom Apple Watch Complications, Part 1
Creating Custom Apple Watch Complications, Part 2
Providing Location Service Using DependencyService in Xamarin.Forms
Sharing Data in Apple Watch Applications
Using Native Platform Features in Xamarin.Forms Through DependencyService
What's New in watchOS 2 for Developers?
Apple Watch Interface Navigation
Download the sample pages (includes Chapter 2 and Index)
Preface xiii
Acknowledgments xvii
About the Author xix
Chapter 1: Getting Started with WatchKit Programming 1
Specifications of the Apple Watch 1
Getting the Tools for Development 2
Understanding the WatchKit App Architecture 3
Types of Apple Watch Applications 6
Hello, World! 6
Summary 16
Chapter 2: Apple Watch Interface Navigation 17
Interface Controllers and Storyboard 17
Navigating between Interface Controllers 22
Summary 43
Chapter 3: Apple Watch User Interface 45
Responding to User Interactions 45
Displaying Information 65
Gathering Information 82
Laying Out the Controls 86
Force Touch 91
Summary 98
Chapter 4: Interfacing with iOS Apps 99
Localization 99
Communicating between the WatchKit App and the Extension 113
Summary 148
Chapter 5: Displaying Notifications 149
What Is a Notification? 149
Types of Notifications on the Apple Watch 152
Summary 178
Chapter 6: Displaying Glances 179
What Is a Glance? 179
Making the App Useful 186
Updating the Glance 192
Summary 194
Index 195