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.
Understand UISplitViewController
From the course: Learning Apple tvOS App Development
Understand UISplitViewController
- [Instructor] Using a tab bar controller is pretty common on tvOS, because it gives you a great way to distinguish between different app features, so is also different master-detail scenarios that you'll know from iOS development. And what we want to do here is implement a master-detail scenario by using a split view controller for our second tab. So to add a split view controller, all I have to do is press command shift L on my keyboard to open up my object library enter split, and here we go, we have the option for the split view controller, and just drag and drop that to my view controllers in my main storyboard and here we go. I get a lot of view controllers here actually, as you can see, we have four different view controllers here. Actually, we have the split view controller, we have an additional navigation controller, we have a view controller, and a root view controller. And we're going to need three of them, not all of them, but three of them, and what we can do here to…
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
-
-
-
-
What you are going to create2m 46s
-
(Locked)
Set up the ViewController hierarchy2m 51s
-
(Locked)
Understand UISplitViewController4m 48s
-
(Locked)
Add video assets and imagery2m 43s
-
(Locked)
Add different UIKit components7m 52s
-
(Locked)
Set up a TableViewController5m 57s
-
(Locked)
Connect the UI with your code5m 30s
-
-
-
-
-