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 how to set up and provision your app for use with Apple Pay and the PassKit framework. You learned how to manually set up a merchant ID for your development certificate in the Apple Developer portal, and add this to the Capabilities section of your iOS app. We then moved on to explaining how to use the WatchKit WKInterfaceTable, how to set it up, and configure it.

You learned how to create a table row controller that inherits from the NSObject class to store our product information. You now know how to use this class to populate product related information from our ProductsList property list file, and determine when a user has selected a row, and respond to the action.

In the final sections, you learned how to integrate with the PassKit framework, how to handle Apple Pay payments using the PKPaymentAuthorizationViewControllerDelegate protocol methods, and how to communicate between the WatchKit extension and the iOS app.

In the next chapter, you will learn...