Chapter 13. Time to watch your WatchKit code

 

Welcome to Chapter 13, where you’ll be introduced to Apple Watch application coding.

This chapter covers

  • How to create an interface for an Apple Watch app
  • How to code a Watch app
  • How to run the Watch app
  • How WatchKit development is different from iOS development

Time to watch your WatchKit code is stop 13 on your journey. The Apple Watch is like a mini iPhone that works with the iPhone in your pocket via Bluetooth, but with some obvious restrictions. If you get a text, you’ll see it on your Watch. The Watch lets you know when you receive a call. It can also keep track of your calendar and alarms you’ve set. Finally, the Watch has a few special apps, such as activity trackers that can tell you how much exercise, or sleep, you’ve gotten.

Get ready to dive right into the topic of this chapter: Apple Watch development. You’re going to code a Number Guessing Game app. Along the way, I show you how Watch development is different from standard iOS development.

Note

The application you code in this chapter provides an introduction to Apple Watch development. I won’t be taking you on a deep dive into Watch development; instead, you go knee-deep.

Number Guessing Game app

Get ready to dive right into creating the first app for this chapter: the Number Guessing Game app!

What does this app do?

Check your app knowledge