Chapter    2

Building Data Models

You can create applications with the most intuitive user interfaces that perform tasks users can’t live without, but if you don’t model your data correctly, your applications will become difficult to maintain, will underperform, and might even become unusable. This chapter explains how to model your data to support, not undermine, your applications.

In the previous chapter, you’ve built a simple iOS application using Xcode’s Empty Application template. In this chapter, we model a bookstore and build an application to store information about the books we have. As in the previous chapter, we don’t build any user interface code yet, maintaining the focus on Core Data.

Designing Your Database

The American philosopher ...

Get Pro iOS Persistence : Using Core Data 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.