Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7: Selecting and Editing Table C... > A Recap of the Model-View-Controller...

A Recap of the Model-View-Controller Pattern

Before getting into the mechanics of selecting, inserting, and deleting with a table view, you'll need to understand how these changes affect the underlying data that the table displays. This means understanding the model-view-controller (MVC) architecture pattern that you met back in Chapter 3. The UITableView is an example of an MVC architecture, which separates the front-end views from the back-end models.

That separation is described by the MVC pattern, which divides the application into three areas:

  • Views: In iOS terms, these are the views (or interfaces) that are created in Interface Builder, or programmatically within the code. In UITableView terms, a view is the table itself, and the cells that form the rows of the table.

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint