Cover page by Graham Lee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

6. The Data Model

The first thing I want to implement is the model layer, the objects that represent the information in the BrowseOverflow app. I’ll take another look at the app description from Chapter 5, “Test-Driven Development of an iOS App,” this time with a requirements engineering hat on. Specifically, I’ll use a technique called domain analysis to see what classes and objects are required in the app.

In domain analysis, you look at the requirements with a view to deciding what objects exist in the problem domain and what their responsibilities are. Nouns in the software requirements represent either objects or properties of some object. Verbs represent actions (that is, methods), and the object and subject of the verb tell you which object ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required