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.

TableViews on tvOS

TableViews on tvOS

From the course: Learning Apple tvOS App Development

Start my 1-month free trial

TableViews on tvOS

- [Instructor] Our next mission is to populate this table view controller from which you can't see anything at the moment. The reason for that is because we haven't configured it yet, and what we want to place there is the dates for which we can get a weather forecast. And if we have a look at our storyboard one more time, if you remember, when we created this table view or when we configured this cell, then we also gave this cell a reuse identifier. Table view controllers are great because they're pretty damn fast, and the system reuses the cells even if they're off screen. So, they're going to be repopulated with data and the system takes complete care of that. So let's just quickly have a look at how we can populate this table view. I've opened up the search table view controller again, and as you can see, this is a UI table view controller subclass. An X-code automatically created a lot of template code for us that we can use. There are three functions that are very important for…

Contents