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

Design considerations for WatchKit context menu icons

When designing your WatchKit context menu icons, they must contain actions that users can perform, and each action must contain a label and icon. Text labels associated with the menu can contain up to two lines of text, and menu icons are template images, which use the image's alpha value to define their shape.

The following table explains the different menu icon sizes for each of the associated asset image types:

Asset image types

Apple Watch (38 mm)

Apple Watch (42 mm)

The notification center icon

48 pixels

55 pixels

The long-look notification icon

80 pixels

88 pixels

The home screen icon

80 pixels

80 pixels

The short look icon

172 pixels

196 pixels

The following screenshot highlights the required design considerations that you must adhere to when creating your customized menu icons. You need to consider using line weights that are appropriate for your device size, and the complexity of the icon by setting the line thickness...