Book Image

Building Apple Watch Projects

By : Stuart Grimshaw
Book Image

Building Apple Watch Projects

By: Stuart Grimshaw

Overview of this book

With Apple’s eagerly anticipated entry into the wearable arena, the field is wide open for a new era of app development. The Apple Watch is one of the most important technologies of our time. This easy-to-understand book takes beginners on a delightful journey of discovering the features available to the developer, right up to the completion of medium-level projects ready for App Store submission. It provides the fastest way to develop real-world apps for the Apple Watch by teaching you the concepts of Watch UI, visual haptic and audio, message and data exchange between watch and phone, Web communication, and finally Visual, haptic as well as audio feedback for users. By the end of this book, you will have developed at least four fully functioning apps for deployment on watchOS 2.
Table of Contents (17 chapters)
Building Apple Watch Projects
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Challenges for expansion


If you wish to hone your software skills by extending the core functionality of the Plot Buddy app, here are a couple of ideas to get you started:

  • The app uses only two of the CLLocation's properties, but it may be useful to the user to store more of the data returned, such as the time stamp, or the height above sea level. Use the print() command to inspect the data in the console and see if you can add more of it to the app.

  • At the moment, the app stores only one set of locations at a time and the user must send this data to the phone before recording a new set of locations, or lose it, as it is replaced by a fresh list of locations. With a few tweaks, it is possible to store an array of such location sets and send them all together to the paired iPhone.

  • The iPhone does no more than log to the console the arrival of ApplicationContext data. Depending on your level of confidence with iOS development, you may wish to display that data on the iPhone screen or package...