UITableViewController

A UITableView is a view object. Recall that in the Model-View-Controller design pattern, which iOS developers do their best to follow, each class falls into exactly one of the following categories:

  • model: holds data and knows nothing about the user interface

  • view: is visible to the user and knows nothing about the model objects

  • controller: keeps the user interface and the model objects in sync and controls the flow of the application

Thus, a UITableView, a view object, does not handle application logic or data. When using a UITableView, you must consider what else is necessary to get the table working in your application:

  • A UITableView typically needs a view controller to handle its appearance ...

Get iOS Programming: The Big Nerd Ranch Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.