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

Summary


In this chapter, you learned about WatchKit context menus and how you can go about adding them to an existing Apple Watch application. You also learned about the differences between the WKInterfaceMenu and WKInterfaceMenuItem classes and how you can go about adding WatchKit menu items through code and respond to those actions when pressed.

You learned about Taptic Engine, which is integrated in Apple Watch, and how to go about integrating haptic feedback as well as understanding all about the Force Touch technology of Apple Watch. We also discussed how this technology is sophisticated enough to determine the difference between a tap or more forceful long press on the device screen to display the context menu associated with the current scene.

Each of the scenes within a WatchKit app can have a single context menu, each of which can present up to four menu items available for selection by the user and consist of a menu item that contains an image and title.

In the next chapter, you will...