Learn about the stacking behavior of a watch layout. Learn how to make a scrolling interface, and learn about some of the limitations to the interface.
- [Narrator] Stacking a few buttons and labels…on the interface like we did in the hello pizza…makes for a pretty boring interface.…The Interface Builder for Watch has several…features that lets you build more elaborate interfaces.…Let's look at laying out more complex interfaces…in the storyboard.…I'll start with stacking in the automatic scrolling…of the interface.…On the watchOS storyboard, objects stack vertically…on the interface from the top down then scroll.…Click into Xcode and go to file, new, project…make a new iOS app with Watchkit App Project…and we're going to call this WK Layout…and turn off the notification scene.…
Leave the Team Organization Name…and Organization Identifier as you normally have them…and we'll make the language Swift…and all these again should be off.…Hit next,…create your file…close up your iPhone app…and go to the interface storyboard.…Scroll down til you find a label…and put a label on your interface and then scroll back…and put a button right underneath it.…
The button should click into place…
- Principles of watchOS development
- Adding buttons and labels to your app
- Connecting objects to code
- Testing a watchOS app
- Laying out WatchKit UI objects
- Adding navigation
- Using Interface Library elements such as inputs, pickers, and media players
- Creating tables
- Working with table data
Skill Level Intermediate
1. A Look at the Apple Watch App
2. Building Your First Apple Watch App
3. Working with UI in watchOS
5. Interface Library
6. Tables and Scrolling
Next steps1m 57s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.