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

Plan the app


Let's have a look at how the app will be developed.

Mission statement

Let us look at the app's requirements before beginning any work in Xcode.

We will write a game that presents a group of four color-coded buttons which flash in an order generated by the app, which is then to be repeated by the user by tapping the buttons. If the user does this successfully, the sequence length is extended by adding a randomly generated color, and is flashed again (the flash interval needs to be a suitable time, say, in the region of one second). The sequence gets longer and longer, each time requiring the user to repeat it. Eventually the user will fail, and will be presented with his 'score'—the length of the last correctly guessed sequence, and a prompt to start the next game.

So that's our game, time to get building that interface, right?

Well, no, not quite yet. To make the best use of our coding time, and to produce the best code possible, we will try to formalize our game requirements into...

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}