To use core data in your iOS app, you need to add the core data framework to your project, and create a data model file. The data model file defines the entities, attributes, and relationships that make up your object graph. You can use the Xcode data model editor to create and edit your data model visually or programmatically. You also need to create a core data stack, which consists of three main components: a persistent container, a managed object context, and a persistent store coordinator. The persistent container is responsible for creating and managing the core data stack, and provides a default managed object context for your app. The managed object context is the interface between your app and the core data framework, and allows you to perform operations on the objects in the object graph. The persistent store coordinator connects the managed object context to the persistent store, and manages the transfer of data between them.