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
About the Author
About the Reviewer

Configuring the notification scheme for our Shopping List app

In this section, our next step is to configure our Shopping List app so that it has the ability to display custom notification messages within our dynamic notifications when an order is successfully processed for the chosen product item from the shopping list, which we will use later on to set up the Outlets within this class. Perform the following steps:

  1. Select the ShoppingList.xcodeproj file from the Chapter 08 folder in the accompanying code bundle, as shown in the following screenshot:

  2. Next, ensure that the ShoppingList Xcode project file is open within the Xcode development IDE.

    When you start developing notifications for your application, you have the option of running the notification directly within the Watch simulator using the notification scheme to ensure that everything is working correctly. This saves time compared to having to swipe down from the top of the watch face, so you can see your notification appear.

    In this...