From the course: Learning Apple tvOS App Development
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
UISplitViewController in action
From the course: Learning Apple tvOS App Development
UISplitViewController in action
- [Instructor] In the current state of our second tab, the city search, we can already display different dates for which we have weather forecast data available, but what we cannot do yet is selecting one of those dates and display information. And if you remember, when we create the user interface we set up a split view controller which is great because we can display information side-by-side here from two different view controllers. On the left side we have a master view controller which is a table view controller, and if we click with a TV remote on one of the cells, we are triggering a segue from the table view cell to our right detail view controller that displays the information. So this is pretty great, pretty simple component here, the split view controller, and our mission now is to make this data transfer happen and also to display the information in our detail view controller. And the way to do that is first of all having a look at the search table view controller and if…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Demo API and some helpers3m 29s
-
(Locked)
A video background11m 8s
-
(Locked)
Set up location services8m 36s
-
(Locked)
Handle location updates4m 42s
-
(Locked)
Get weather data for the user's location6m 23s
-
(Locked)
Update the UI with weather data6m 30s
-
(Locked)
Forecast for more than one day6m 43s
-
(Locked)
Text entry on tvOS: Search for locations6m 34s
-
(Locked)
TableViews on tvOS5m 11s
-
(Locked)
UISplitViewController in action7m 23s
-
(Locked)
-
-
-