Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

10.4 - 10.5 Symbol Changes

This document lists the symbols in CoreData that are new between Mac OS X v10.4 and Mac OS X v10.5.

Contents:

Classes
C Symbols


Classes

All of the classes with new symbols are listed alphabetically, with their new class, instance, and delegate methods described.

NSAtomicStore (New)

Complete reference information is available in the NSAtomicStore reference.

Instance Methods

addCacheNodes:Registers a set of cache nodes with the receiver.
cacheNodeForObjectID:Returns the cache node for a given managed object ID.
cacheNodesReturns the set of cache nodes registered with the receiver.
initWithPersistentStoreCoordinator: configurationName:URL:options:Returns an atomic store, initialized with the given arguments.
load:Loads the cache nodes for the receiver.
newCacheNodeForManagedObject:Returns a new cache node for a given managed object.
newReferenceObjectForManagedObject:Returns a new reference object for a given managed object.
objectIDForEntity:referenceObject:Returns a managed object ID from the reference data for a specified entity.
referenceObjectForObjectID:Returns the reference object for a given managed object ID.
save:Saves the cache nodes.
updateCacheNode:fromManagedObject:Updates the given cache node using the values in a given managed object.
willRemoveCacheNodes:Method invoked before the store removes the given collection of cache nodes.

NSAtomicStoreCacheNode (New)

Complete reference information is available in the NSAtomicStoreCacheNode reference.

Instance Methods

initWithObjectID:Returns a cache node for the given managed object ID.
objectIDReturns the managed object ID for the receiver.
propertyCacheReturns the property cache dictionary for the receiver.
setPropertyCache:Sets the property cache dictionary for the receiver.
setValue:forKey:Sets the value for the given key.
valueForKey:Returns the value for a given key.

NSAttributeDescription

Complete reference information is available in the NSAttributeDescription reference.

Instance Methods

setAttributeValueClassName:Sets the name of the class used to represent the receiver.
setValueTransformerName:Sets the name of the transformer to use to transform the attribute value.
valueTransformerNameReturns the name of the transformer used to transform the attribute value.
versionHashReturns the version hash for the receiver.

NSEntityDescription

Complete reference information is available in the NSEntityDescription reference.

Instance Methods

isKindOfEntity:Returns a Boolean value that indicates whether the receiver is a subentity of another given entity.
setVersionHashModifier:Sets the version hash modifier for the receiver.
versionHashReturns the version hash for the receiver.
versionHashModifierReturns the version hash modifier for the receiver.

NSEntityMapping (New)

Complete reference information is available in the NSEntityMapping reference.

Instance Methods

attributeMappingsReturns the array of attribute mappings for the receiver.
destinationEntityNameReturns the destination entity name for the receiver.
destinationEntityVersionHashReturns the version hash for the destination entity for the receiver.
entityMigrationPolicyClassNameReturns the class name of the migration policy for the receiver.
mappingTypeReturns the mapping type for the receiver.
nameReturns the name of the receiver.
relationshipMappingsReturns the array of relationship mappings for the receiver.
setAttributeMappings:Sets the array of attribute mappings for the receiver.
setDestinationEntityName:Sets the destination entity name for the receiver.
setDestinationEntityVersionHash:Sets the version hash for the destination entity for the receiver.
setEntityMigrationPolicyClassName:Sets the class name of the migration policy for the receiver.
setMappingType:Sets the mapping type for the receiver.
setName:Sets the name of the receiver.
setRelationshipMappings:Sets the array of relationship mappings for the receiver.
setSourceEntityName:Sets the source entity name for the receiver.
setSourceEntityVersionHash:Sets the version hash for the source entity for the receiver.
setSourceExpression:Sets the source expression for the receiver.
setUserInfo:Sets the user info dictionary for the receiver.
sourceEntityNameReturns the source entity name for the receiver.
sourceEntityVersionHashReturns the version hash for the source entity for the receiver.
sourceExpressionReturns the source expression for the receiver.
userInfoReturns the user info dictionary for the receiver.

NSEntityMigrationPolicy (New)

Complete reference information is available in the NSEntityMigrationPolicy reference.

Instance Methods

beginEntityMapping:manager:error:Invoked by the migration manager at the start of a given entity mapping.
createDestinationInstancesForSourceInstance: entityMapping:manager:error:Creates the destination instance(s) for a given source instance.
createRelationshipsForDestinationInstance: entityMapping:manager:error:Constructs the relationships between the newly-created destination instances.
endEntityMapping:manager:error:Invoked by the migration manager at the end of a given entity mapping.
endInstanceCreationForEntityMapping:manager:error:Indicates the end of the creation stage for the specified entity mapping, and the precursor to the next migration stage.
endRelationshipCreationForEntityMapping:manager: error:Indicates the end of the relationship creation stage for the specified entity mapping.
performCustomValidationForEntityMapping:manager: error:Invoked during the validation stage of the entity migration policy, providing the option of performing custom validation on migrated objects.

NSFetchRequest

Complete reference information is available in the NSFetchRequest reference.

Instance Methods

includesPropertyValuesReturns a Boolean value that indicates whether, when the fetch is executed, property data is obtained from the persistent store.
includesSubentitiesReturns a Boolean value that indicates whether the receiver includes subentities in the results.
relationshipKeyPathsForPrefetchingReturns the array of relationship keypaths to prefetch along with the entity for the request.
resultTypeReturns the result type of the receiver.
returnsObjectsAsFaultsReturns a Boolean value that indicates whether the objects resulting from a fetch using the receiver are faults.
setIncludesPropertyValues:Sets if, when the fetch is executed, property data is obtained from the persistent store.
setIncludesSubentities:Sets whether the receiver includes subentities.
setRelationshipKeyPathsForPrefetching:Sets an array of relationship keypaths to prefetch along with the entity for the request.
setResultType:Sets the result type of the receiver.
setReturnsObjectsAsFaults:Sets whether the objects resulting from a fetch request are faults.

NSFetchRequestExpression (New)

Complete reference information is available in the NSFetchRequestExpression reference.

Class Methods

expressionForFetch:context:countOnly:Returns an expression which will evaluate to the result of executing a fetch request on a context.

Instance Methods

contextExpressionReturns the expression for the receiver’s managed object context.
isCountOnlyRequestReturns a Boolean value that indicates whether the receiver represents a count-only fetch request.
requestExpressionReturns the expression for the receiver’s fetch request.

NSManagedObject

Complete reference information is available in the NSManagedObject reference.

Instance Methods

hasFaultForRelationshipNamed:Returns a Boolean value that indicates whether the relationship for a given key is a fault.
willTurnIntoFaultInvoked automatically by the Core Data framework before receiver is converted to a fault.

NSManagedObjectContext

Complete reference information is available in the NSManagedObjectContext reference.

Instance Methods

countForFetchRequest:error:Returns the number of objects a given fetch request would have returned if it had been passed to executeFetchRequest:error:.
mergeChangesFromContextDidSaveNotification:Merges the changes specified in a given notification.
obtainPermanentIDsForObjects:error:Converts to permanent IDs the object IDs of the objects in a given array.

NSManagedObjectModel

Complete reference information is available in the NSManagedObjectModel reference.

Class Methods

mergedModelFromBundles:forStoreMetadata:Returns a merged model from a specified array for the version information in provided metadata.
modelByMergingModels:forStoreMetadata:Returns, for the version information in given metadata, a model merged from a given array of models.

Instance Methods

entityVersionHashesByNameReturns a dictionary of the version hashes for the entities in the receiver.
fetchRequestTemplatesByNameReturns a dictionary of the receiver’s fetch request templates.
isConfiguration:compatibleWithStoreMetadata:Returns a Boolean value that indicates whether a given configuration in the receiver is compatible with given metadata from a persistent store.
setVersionIdentifiers:Sets the identifiers for the receiver.
versionIdentifiersReturns the collection of developer-defined version identifiers for the receiver.

NSMappingModel (New)

Complete reference information is available in the NSMappingModel reference.

Class Methods

mappingModelFromBundles:forSourceModel: destinationModel:Returns the mapping model to translate data from the source to the destination model.

Instance Methods

entityMappingsReturns the collection of entity mappings for the receiver.
entityMappingsByNameReturns a dictionary of the entity mappings for the receiver.
initWithContentsOfURL:Returns a mapping model initialized from a given URL.
setEntityMappings:Sets the collection of entity mappings for the receiver

NSMigrationManager (New)

Complete reference information is available in the NSMigrationManager reference.

Instance Methods

associateSourceInstance:withDestinationInstance: forEntityMapping:Associates a given source instance with an array of destination instances for a given property mapping.
cancelMigrationWithError:Cancels the migration with a given error.
currentEntityMappingReturns the entity mapping currently being processed.
destinationContextReturns the managed object context the receiver uses for writing the destination persistent store.
destinationEntityForEntityMapping:Returns the entity description for the destination entity of a given entity mapping.
destinationInstancesForEntityMappingNamed: sourceInstances:Returns the managed object instances created in the destination store for a named entity mapping for a given array of source instances.
destinationModelReturns the destination model for the receiver.
initWithSourceModel:destinationModel:Initializes a migration manager instance with given source and destination models.
mappingModelReturns the mapping model for the receiver.
migrateStoreFromURL:type:options:withMappingModel: toDestinationURL:destinationType: destinationOptions:error:Migrates of the store at a given source URL to the store at a given destination URL, performing all of the mappings specified in a given mapping model.
migrationProgressReturns a number from 0 to 1 that indicates the proportion of completeness of the migration.
resetResets the association tables for the migration.
setUserInfo:Sets the user info for the receiver.
sourceContextReturns the managed object context the receiver uses for reading the source persistent store.
sourceEntityForEntityMapping:Returns the entity description for the source entity of a given entity mapping.
sourceInstancesForEntityMappingNamed: destinationInstances:Returns the managed object instances in the source store used to create a given destination instance for a given property mapping.
sourceModelReturns the source model for the receiver.
userInfoReturns the user info for the receiver.

NSPersistentStore (New)

Complete reference information is available in the NSPersistentStore reference.

Class Methods

metadataForPersistentStoreWithURL:error:Returns the metadata from the persistent store at the given URL.
setMetadata:forPersistentStoreWithURL:error:Sets the metadata for the store at a given URL.

Instance Methods

configurationNameReturns the name of the managed object model configuration used to create the receiver.
didAddToPersistentStoreCoordinator:Invoked after the receiver has been added to the persistent store coordinator.
identifierReturns the unique identifier for the receiver.
initWithPersistentStoreCoordinator: configurationName:URL:options:Returns a store initialized with the given arguments.
isReadOnlyReturns a Boolean value that indicates whether the receiver is read-only.
metadataReturns the metadata for the receiver.
optionsReturns the options with which the receiver was created.
persistentStoreCoordinatorReturns the persistent store coordinator which loaded the receiver.
setIdentifier:Sets the unique identifier for the receiver.
setMetadata:Sets the metadata for the receiver.
setReadOnly:Sets whether the receiver is read-only.
setURL:Sets the URL for the receiver.
typeReturns the type string of the receiver.
willRemoveFromPersistentStoreCoordinator:Invoked before the receiver is removed from the persistent store coordinator.

NSPersistentStoreCoordinator

Complete reference information is available in the NSPersistentStoreCoordinator reference.

Class Methods

metadataForPersistentStoreOfType:URL:error:Returns a dictionary containing the metadata stored in the persistent store at a given URL.
registeredStoreTypesReturns a dictionary of the registered store types.
registerStoreClass:forStoreType:Registers a given NSPersistentStore subclass for a given store type string.
setMetadata:forPersistentStoreOfType:URL:error:Sets the metadata for a given store.

Instance Methods

setURL:forPersistentStore:Sets the URL for a given persistent store.

NSPropertyDescription

Complete reference information is available in the NSPropertyDescription reference.

Instance Methods

isIndexedReturns a Boolean value that indicates whether the receiver is important for searching.
setIndexed:Sets the optionality flag of the receiver.
setVersionHashModifier:Sets the version hash modifier for the receiver.
versionHashReturns the version hash for the receiver.
versionHashModifierReturns the version hash modifier for the receiver.

NSPropertyMapping (New)

Complete reference information is available in the NSPropertyMapping reference.

Instance Methods

nameReturns the name of the property in the destination entity for the receiver.
setName:Sets the name of the property in the destination entity for the receiver.
setUserInfo:Sets the user info for the receiver.
setValueExpression:Sets the value expression for the receiver.
userInfoReturns the user info for the receiver.
valueExpressionReturns the value expression for the receiver.

NSRelationshipDescription

Complete reference information is available in the NSRelationshipDescription reference.

Instance Methods

versionHashReturns the version hash for the receiver.

C Symbols

All of the header files with new symbols are listed alphabetically, with their new symbols described.

CoreDataErrors.h

Data Types & Constants

All of the new data types and constants in this header file are listed alphabetically, with links to documentation and abstracts, if available.

NSEntityMigrationPolicyErrorError code to denote that migration failed during processing of an entity migration policy.
NSMigrationCancelledErrorError code to denote that migration failed due to manual cancellation.
NSMigrationErrorError code to denote a general migration error.
NSMigrationManagerDestinationStoreErrorError code to denote that migration failed due to a problem with the destination data store.
NSMigrationManagerSourceStoreErrorError code to denote that migration failed due to a problem with the source data store.
NSMigrationMissingMappingModelErrorError code to denote that migration failed due to a missing mapping model.
NSMigrationMissingSourceModelErrorError code to denote that migration failed due to a missing source data model.
NSPersistentStoreIncompatibleVersionHashErrorError code to denote that entity version hashes in the store are incompatible with the current managed object model.
NSPersistentStoreOpenErrorError code to denote an error occurred while attempting to open a persistent store.
NSPersistentStoreOperationErrorError code to denote that a persistent store operation failed.
NSPersistentStoreTimeoutErrorError code to denote that Core Data failed to connect to a persistent store within the time specified by NSPersistentStoreTimeoutOption.
NSSQLiteErrorError code to denote a general SQLite error.
NSSQLiteErrorDomainDomain for SQLite errors.

NSEntityMapping.h

Data Types & Constants

All of the new data types and constants in this header file are listed alphabetically, with links to documentation and abstracts, if available.

NSAddEntityMappingTypeSpecifies that this is a new entity in the destination model.
NSCopyEntityMappingTypeSpecifies that source instances are migrated as-is.
NSCustomEntityMappingTypeSpecifies a custom mapping.
NSEntityMappingTypeData type used for constants that specify types of entity mapping.
NSRemoveEntityMappingTypeSpecifies that this entity is not present in the destination model.
NSTransformEntityMappingTypeSpecifies that entity exists in source and destination and is mapped.
NSUndefinedEntityMappingTypeSpecifies that the developer handles destination instance creation.

NSEntityMigrationPolicy.h

Data Types & Constants

All of the new data types and constants in this header file are listed alphabetically, with links to documentation and abstracts, if available.

NSMigrationDestinationObjectKeyKey for the destination object.
NSMigrationEntityMappingKeyKey for the entity mapping object.
NSMigrationManagerKeyKey for the migration manager.
NSMigrationPropertyMappingKeyKey for the property mapping object.
NSMigrationSourceObjectKeyKey for the source object.

NSFetchRequest.h

Data Types & Constants

All of the new data types and constants in this header file are listed alphabetically, with links to documentation and abstracts, if available.

NSFetchRequestResultTypeDefines the type for the fetch request result type.
NSManagedObjectIDResultTypeSpecifies that the request returns managed object IDs.
NSManagedObjectResultTypeSpecifies that the request returns managed objects.

NSFetchRequestExpression.h

Data Types & Constants

All of the new data types and constants in this header file are listed alphabetically, with links to documentation and abstracts, if available.

NSFetchRequestExpressionTypeSpecifies the fetch request expression type.

NSManagedObjectContext.h

Data Types & Constants

All of the new data types and constants in this header file are listed alphabetically, with links to documentation and abstracts, if available.

NSInvalidatedAllObjectsKeyKey that specifies that all objects in the context have been invalidated.
NSInvalidatedObjectsKeyKey for the set of objects that were invalidated.
NSRefreshedObjectsKeyKey for the set of objects that were refreshed.

NSPersistentStoreCoordinator.h

Data Types & Constants

All of the new data types and constants in this header file are listed alphabetically, with links to documentation and abstracts, if available.

NSIgnorePersistentStoreVersioningOptionKey to ignore the built-in versioning provided by Core Data.
NSMigratePersistentStoresAutomaticallyOptionKey to automatically attempt to migrate versioned stores.
NSPersistentStoreOSCompatibilityKey to represent the earliest version of Mac OS X the persistent store supports.
NSPersistentStoreTimeoutOptionOptions key that specifies the connection timeout for Core Data stores.
NSSQLitePragmasOptionOptions key for a dictionary of SQLite pragma settings with pragma values indexed by pragma names as keys.
NSStoreModelVersionHashesKeyKey to represent the version hash information for the model used to create the store.
NSStoreModelVersionIdentifiersKeyKey to represent the version identifier for the model used to create the store.


< Previous PageNext Page > Hide TOC


Last updated: 2007-07-18




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice