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


In this chapter, you learned how to download an image from an external website, extract the animation frames from the ZIP file, and then add them to the image assets catalog. You learned about the App Transport Security protocol that Apple introduced with the release of iOS 9 to enforce developers to provide secure connections between your Apple Watch apps and iOS apps that communicate over HTTPS, and learned how to properly configure our Apple WatchKit extension to allow our app to download images from external websites.

In our next step, we discussed Outlets and how we can connect and bind them to control objects within the Interface Builder canvas and then moved on to learning about creating Action events to our control elements that will be able to respond to user actions when tapped. To end the chapter, we moved on to discussing how to correctly animate an image within the WatchKit interface by cycling through each of the extracted frames and using the startAnimatingWithImagesInRange...