Chapter    8

Model Citizen

This chapter is all about the model-view-controller design pattern. Design patterns, which I talked about in Chapter 6, are reusable solutions to common programming problems. The model-view-controller (MVC) design pattern is, arguably, the most important and wide-ranging design pattern used today. In this chapter, you’ll learn about the following:

  • What the model-view-controller design pattern is
  • What makes a good data model
  • What makes a good view object
  • What makes a good controller object
  • How MVC objects communicate with each other
  • When you can cheat

You might be thinking that all of this MVC stuff is a bunch of esoteric computer science theory that won’t really help you write your Death Star Laser Cannon Control ...

Get Learn iOS 8 App Development, Second Edition now with O’Reilly online learning.

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