Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Apple Watch Projects

You're reading from  Building Apple Watch Projects

Product type Book
Published in Feb 2016
Publisher Packt
ISBN-13 9781785887369
Pages 298 pages
Edition 1st Edition
Languages
Author (1):
Stuart Grimshaw Stuart Grimshaw
Profile icon Stuart Grimshaw

Table of Contents (17) Chapters

Building Apple Watch Projects
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Exploring the New Platform 2. Hello Watch 3. C-Quence – A Memory Game 4. Expanding on C-Quence 5. On Q – A Productivity App 6. Watching the Weather 7. Plot Buddy – All about Location 8. Images, Animation, and Sound 9. Wear It, Test It, Tweak It, Ship It 10. This Is Only the Beginning Index

Setting up the project


So the actual flow of our user experience is very simple and is linear in nature—the user collects data, stores, and sends it to the iPhone, there are no branches in the user's behavior.

Requirements

We will need to make use of the following frameworks provided by WatchKit:

  • Core Location

  • Watch Connectivity

We have seen in previous chapters how to leverage Watch Connectivity and we will see shortly the few simple steps we need to take, in order to access core location.

As far as custom structures are concerned, we need to create the following classes:

  • Shared constants, to facilitate data exchange between the watch and the phone

  • A Watch Connectivity manager, as we have created in previous projects

  • A location manager to fetch and store location data and make it available to the interface controllers

  • The main user interface and its associated WKInterfaceController class

  • An interface and its WKInterfaceController, to present the plotted data in table form

  • The table row controller,...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}