As you can see, groups in WatchKit let you unleash your creativity and solve all kinds of interesting UI problems. In this chapter, you 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? You want TapALap to react to multiple runs and list them, as well as let the user select from multiple tracks. To do that, you need to use WKInterfaceTable, which takes groups one step further by allowing you to create dynamic content.
You can find the source code at https://pragprog.com/titles/jkwatch2/source_code/. The image is at the path TapALap/TapALap WatchKit App/Assets.xcassets/chevron.imageset/.
3.137.219.118