Contents

Modeling data

Configure the data model file to contain your app’s object graph.

Overview

A data model holds information about your application’s objects and the graph of how objects relate to each other. You provide this information in your project’s .xcdatamodeld file package. To add a data model to your project, see Creating a Core Data model.

This screenshot shows the data model for an app that displays a feed of earthquake data.

[Image]

Model your data by describing your objects as entities, adding their properties as attributes and relationships, and finally generating respective NSManagedObject subclasses to inherit change tracking and life cycle management.

Topics

Configuring a Core Data Model

See Also

Data modeling