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

Planning the app


Although we will be using some pretty advance programming for this app, the actual use scenario is quite straightforward and our user story will be simply structured.

Mission Statement

Plot Buddy will enable the user to store any number of locations directly from the watch; while moving around, say, a plot of land, or a regular jogging route, or any number of situations in which a list of related location data would be useful. When the user is finished, it will be possible to send the data to the paired iPhone (once it is in range), from where it could be used in any number of ways.

User Story

After launching the app, the user will be offered a single active button with the title Start Plotting, which will allow him to start plotting locations.

Once plotting has started, a second button, titled Add Current Coordinates, will become active which will trigger the addition of the current location's geo-coordinates to a list that is maintained by the app. The location coordinates...