O'Reilly logo

Developing for Apple Watch by Jeff Kelley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a Glance

As you learned earlier,, each watch app can have one Glance to display information to the user right from the watch face. To add one to HelloWatch, open the project in Xcode and open its Interface.storyboard file. In the Object Library in the lower-right (available by pressing 3), find Glance Interface Controller and drag it onto the canvas. You’ll notice two objects already on it, each called Group. We’ll discuss groups more in their own chapter,, but it’s important to note that there are two sections to the Glance, upper and lower. Select the Glance interface controller you dragged out and open the Attributes Inspector in Xcode (4). You can click the object next to Upper and Lower to switch to a different template for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required