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

Wrap-Up

As you can see, groups in WatchKit let you solve all kinds of interesting UI problems and really unleash your creativity. In this chapter, you’ve learned how to use groups on their own and in buttons, and how to nest groups to achieve your desired layout. Though it can get messy, using groups lets you do advanced positioning to get the precise user interface you want. One limitation to groups, however, is that all of their content has to be in your storyboard. What about apps that have dynamic content? We want our sample app to react to multiple runs and list them, as well as let the user select from multiple tracks. To do that, we need to use WKInterfaceTable, which takes groups one step further by allowing us create dynamic content. ...

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