Book Image

Apple Watch App Development

By : Steven F. Daniel
Book Image

Apple Watch App Development

By: Steven F. Daniel

Overview of this book

With the increasing amount of new wearable devices hitting the market, wearables are the next wave of mobile technology. With the release of Apple's WatchKit SDK, a whole new world of exciting development possibilities hasopened up. Apple Watch App Development introduces you to the architecture and limitations of the Apple Watch platform, followed by an in-depth look at how to work with Xcode playgrounds. Here, we'll introduce you to the Swift programming language so you can quickly begin developing apps for the Apple Watch platform with the WatchKit framework and the Xcode Development IDE. We then discuss more advanced topics such as Notifiations, Glances, Closures, Tuples, Protocols, Apple pay, and using Swift playgrounds, with each concept backed up with example code that demonstrates how to properly execute it. We also show you how to package and deploy your Watch application to the Apple AppStore. By the end of this book, you will have a good understanding of how to develop apps for Apple Watch platform using the WatchKit framework and Swift 2.0.
Table of Contents (19 chapters)
Apple Watch App Development
Credits
About the Author
Acknowledgements
About the Reviewer
www.PacktPub.com
Preface
Index

Introduction to the WatchKit platform


This section provides you with an overview of the WatchKit platform, which is a fundamental part of Apple Watch. When developing apps for Apple Watch, it takes advantage of the WatchKit framework that happens to be included as part of the iOS SDK, and both are embedded into the watchOS and iOS operating systems.

The WatchKit framework contains the necessary classes that provide the underlying functionality for both the WatchKit extension and the WatchKit application and is responsible for handling all of the communication between the WatchKit extension that runs on the iPhone device and its corresponding WatchKit application that is installed on Apple Watch.

Whenever you begin developing Apple Watch apps, you will notice that your project contains a number of different targets that make use of the WatchKit platform.

Note

A target is the final end product that is created by your application, and these can be either an app, a framework, or even a static library...