Start to build a table with two types of row layouts. Set up the storyboard, classes, and identifiers to use multiple-row types.
- [Presenter] So far, we've used one row controller.…What if you wanted to use more than one row controller?…Let's say you wanted to show photos for ice-creams…and gelato but not sorbet.…For that, use a multiple row-like table.…I've saved them for last because they're not easy.…Multiple row type tables work very differently…than single row type tables.…Instead of setting the number of rows…and the one row controller you're going to use,…you set an array, with the names of the row controller…you want to use for that row.…
This means a lot of work on both the storyboard and in code.…We'll start with the storyboard work.…So, go ahead and close the app…and head over to the storyboard.…I'm going to have two row controllers.…One, that current row controller we're using, now…and one named photo row controller,…which will change the background color…and add the flavor photo.…Go and select the table…and go to the attributes inspector.…Give yourself a little bit more room and you'll see…the first entry on the attributes is prototypes.…
- 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
Google Firebase for iOS: First Lookwith Joe Marini1h 4m 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.