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


For this app, our setup process will closely resemble that of the previous chapter.

Create the Xcode project

To create the Xcode project, follow the given instructions:

  1. Select File | New | Project, and from the templates select iOS App With WatchKit App.

  2. Name the project C-Quence and deselect the Notification scene and any other scenes that may be preselected, we won't need them here.

The project window should now be looking similar to this:

Create Required Classes

Looking at the project navigator on the left, we see that inside the C-Quence project is a folder also named C-Quence, which contains files that are relevant to the iPhone companion app that we will not be needing to change in this chapter. The next two folders are all about the WatchKit Extension and WatchKit App. We can see here that Xcode's default project structure adheres very closely to the MVC pattern described above.

The MVC's View is the .storyboard file that the template creates for us. Similarly, the...

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}