Documentation Archive Developer
Search

CoreData Changes

CoreData

NSAtomicStore.h
Declaration
From
- (id)initWithPersistentStoreCoordinator:(NSPersistentStoreCoordinator *)coordinator configurationName:(NSString *)configurationName URL:(NSURL *)url options:(NSDictionary *)options
To
- (instancetype)initWithPersistentStoreCoordinator:(NSPersistentStoreCoordinator *)coordinator configurationName:(NSString *)configurationName URL:(NSURL *)url options:(NSDictionary *)options

NSAtomicStoreCacheNode.h
Declaration
From
- (id)initWithObjectID:(NSManagedObjectID *)moid
To
- (instancetype)initWithObjectID:(NSManagedObjectID *)moid

NSEntityDescription.h
NSEntityMapping.h
NSFetchRequest.h
DeclarationDesignated Initializer
From
- (id)init
--
To
- (instancetype)init
yes

Declaration
From
- (id)initWithEntityName:(NSString *)entityName
To
- (instancetype)initWithEntityName:(NSString *)entityName

Introduction
FromOS X 10.7
ToOS X 10.6

NSIncrementalStoreNode.h
Declaration
From
- (id)initWithObjectID:(NSManagedObjectID *)objectID withValues:(NSDictionary *)values version:(uint64_t)version
To
- (instancetype)initWithObjectID:(NSManagedObjectID *)objectID withValues:(NSDictionary *)values version:(uint64_t)version

NSManagedObject.h
DeclarationDesignated Initializer
From
- (id)initWithEntity:(NSEntityDescription *)entity insertIntoManagedObjectContext:(NSManagedObjectContext *)context
--
To
- (instancetype)initWithEntity:(NSEntityDescription *)entity insertIntoManagedObjectContext:(NSManagedObjectContext *)context
yes

NSManagedObjectContext.h
DeclarationDesignated Initializer
From
- (id)initWithConcurrencyType:(NSManagedObjectContextConcurrencyType)ct
--
To
- (instancetype)initWithConcurrencyType:(NSManagedObjectContextConcurrencyType)ct
yes

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

NSMappingModel.h
Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url
To
- (instancetype)initWithContentsOfURL:(NSURL *)url

NSMergePolicy.h
DeclarationDesignated Initializer
From
- (id)initWithSource:(NSManagedObject *)srcObject newVersion:(NSUInteger)newvers oldVersion:(NSUInteger)oldvers cachedSnapshot:(NSDictionary *)cachesnap persistedSnapshot:(NSDictionary *)persnap
--
To
- (instancetype)initWithSource:(NSManagedObject *)srcObject newVersion:(NSUInteger)newvers oldVersion:(NSUInteger)oldvers cachedSnapshot:(NSDictionary *)cachesnap persistedSnapshot:(NSDictionary *)persnap
yes

Designated Initializer
From--
Toyes

NSPersistentStore.h
DeclarationDesignated Initializer
From
- (id)initWithPersistentStoreCoordinator:(NSPersistentStoreCoordinator *)root configurationName:(NSString *)name URL:(NSURL *)url options:(NSDictionary *)options
--
To
- (instancetype)initWithPersistentStoreCoordinator:(NSPersistentStoreCoordinator *)root configurationName:(NSString *)name URL:(NSURL *)url options:(NSDictionary *)options
yes

NSPersistentStoreCoordinator.h
DeclarationDesignated Initializer
From
- (id)initWithManagedObjectModel:(NSManagedObjectModel *)model
--
To
- (instancetype)initWithManagedObjectModel:(NSManagedObjectModel *)model
yes

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

Deprecation
From--
ToOS X 10.10

NSPropertyDescription.h
NSSaveChangesRequest.h
Declaration
From
- (id)initWithInsertedObjects:(NSSet *)insertedObjects updatedObjects:(NSSet *)updatedObjects deletedObjects:(NSSet *)deletedObjects lockedObjects:(NSSet *)lockedObjects
To
- (instancetype)initWithInsertedObjects:(NSSet *)insertedObjects updatedObjects:(NSSet *)updatedObjects deletedObjects:(NSSet *)deletedObjects lockedObjects:(NSSet *)lockedObjects