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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.