iOS Developer Library

Developer

Core Data Framework Reference

Introduction to Core Data Reference Collection

Classes   Protocols   Other Reference  

This collection of documents provides the API reference for the Core Data framework. Core Data provides object graph management and persistence for Foundation and Cocoa applications. For more details, see Core Data Basics in Core Data Programming Guide.

Classes

Class

Abstract

NSObject

NSObject is the root class of most Objective-C class hierarchies.

NSAtomicStoreCacheNode

NSAtomicStoreCacheNode is a concrete class to represent basic nodes in a Core Data atomic store.

NSEntityDescription

An NSEntityDescription object describes an entity in Core Data.

NSEntityMapping

Instances of NSEntityMapping specify how to map an entity from a source to a destination managed object model.

NSEntityMigrationPolicy

Instances of NSEntityMigrationPolicy customize the migration process for an entity mapping.

NSFetchedResultsController

You use a fetched results controller to efficiently manage the results returned from a Core Data fetch request to provide data for a UITableView object.

NSIncrementalStoreNode

NSIncrementalStoreNode is a concrete class to represent basic nodes in a Core Data incremental store.

NSManagedObject

NSManagedObject is a generic class that implements all the basic behavior required of a Core Data model object.

NSManagedObjectContext

An instance of NSManagedObjectContext represents a single “object space” or scratch pad in an application.

NSManagedObjectID

An NSManagedObjectID object is a compact, universal identifier for a managed object.

NSManagedObjectModel

An NSManagedObjectModel object describes a schema—a collection of entities (data models) that you use in your application.

NSMappingModel

Instances of NSMappingModel specify how to map from a source to a destination managed object model.

NSMergeConflict

A merge conflict encapsulates conflicts that occur when attempting to save changes in a managed object context.

NSMergePolicy

You use a merge policy object to resolve conflicts between the persistent store and in-memory versions of managed objects.

NSMigrationManager

Instances of NSMigrationManager perform a migration of data from one persistent store to another using a given mapping model.

NSPersistentStore

This class is the abstract base class for all Core Data persistent stores.

NSAtomicStore

NSAtomicStore is an abstract superclass that you can subclass to create a Core Data atomic store.

NSIncrementalStore

NSIncrementalStore is an abstract superclass defining the API through which Core Data communicates with a store.

NSPersistentStoreCoordinator

Instances of NSPersistentStoreCoordinator associate persistent stores (by type) with a model (or more accurately, a configuration of a model) and serve to mediate between the persistent store or stores and the managed object context or contexts.

NSPersistentStoreRequest

An instance of NSPersistentStoreRequest describes criteria used to retrieve data from or save data to persistent stores.

NSAsynchronousFetchRequest

NSBatchUpdateRequest

NSFetchRequest

An instance of NSFetchRequest describes search criteria used to retrieve data from a persistent store.

NSSaveChangesRequest

A save changes request encapsulates a collection of changes to be made by an object store in response to a save operation on a managed object context.

NSPersistentStoreResult

NSBatchUpdateResult

NSPersistentStoreAsynchronousResult

NSAsynchronousFetchResult

NSPropertyDescription

The NSPropertyDescription class is used to define properties of an entity in a Core Data managed object model.

NSAttributeDescription

The NSAttributeDescription class is used to describe attributes of an entity described by an instance of NSEntityDescription.

NSExpressionDescription

Instances of NSExpressionDescription objects represent a special property description type intended for use with the NSFetchRequest propertiesToFetch method.

NSFetchedPropertyDescription

The NSFetchedPropertyDescription class is used to define “fetched properties.

NSRelationshipDescription

The NSRelationshipDescription class is used to describe relationships of an entity in an NSEntityDescription object.

NSPropertyMapping

Instances of NSPropertyMapping specify in a mapping model how to map from a property in a source entity to a property in a destination entity.

NSExpression

NSExpression is used to represent expressions in a predicate.

NSFetchRequestExpression

Instances of NSFetchRequestExpression represent expressions which evaluate to the result of executing a fetch request on a managed object context.

Protocols

Protocol

Abstract

NSFetchedResultsControllerDelegate

An instance of NSFetchedResultsController uses methods in this protocol to notify its delegate that the controller’s fetch results have been changed due to an add, remove, move, or update operations.

NSFetchedResultsSectionInfo

This protocol defines the interface for section objects vended by an instance of NSFetchedResultsController.

Other Reference

Reference

Core Data Constants Reference