Update Note: This tutorial has been updated to Swift 3/watchOS 3 by Audrey Tam. The original tutorial was written byMic Pringle.
In this watchOS 3 Tutorial, you’ll build a simple but fully functional watchOS 3 app. Specifically, you will work on a watchOS app for a fictional airline called Air Aber.
In the process, you’ll learn:
How to add a watchOS 3 target to an iOS app;
How to share data across the two targets;
How to add a watchOS 3 interface controller to the Storyboard, and lay out the interface objects; and
How to create the WKInterfaceController subclass and wire everything up.
Let’s get started! ┗(°0°)┛
Start by downloading thestarter project for this tutorial.
Open it in Xcode, and build and run. You should see a blank white screen:
There’s not much to this project as it stands: it just includes a few helper files you’ll need, and not much else. You’ll address that now!
Adding the WatchKit App
Select File\New\Target… . In the dialog that appears, choose watchOS\Application\WatchKit App , then click Next :