28Model-View-Controller-Store

Most of the applications you’ve built in this book have been based on the Model-View-Controller design pattern. The exception is Homepwner, which is based on the Model-View-Controller-Store design pattern. In this chapter, we’re going to look more closely at store objects, MVCS, and when MVCS is the better approach for designing an application.

This is a fairly advanced chapter. Until now, you’ve been leveraging the power of existing classes that are built into the iOS SDK. Here, you will write a number of classes of your own that do real work. It will be difficult, but rewarding.

The Need for Stores

Many applications (and especially mobile applications) make use of external sources of data. External sources of ...

Get iOS Programming: The Big Nerd Ranch Guide 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.