Designing Your UI in the Storyboard
With every interface object created in your storyboard, how can you hope to make the UI you want? Great watch user interfaces will separate themselves from the built-in UI. Much like iOS apps use custom interfaces to establish their brand, you can apply a few techniques to make your designs great while still creating nearly everything in your storyboard.
Hiding Inactive Objects
One clever trick for a great UI is using the setHidden method of WKInterfaceObject. If you mark an interface object as hidden, it’s removed from the screen and from the layout system, so everything else will move around accordingly. If you have two mutually exclusive states you want to display, make them both and then hide the one ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access