CoreData Changes
CoreData
CoreDataDefines.h
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 |
NSAttributeDescription.h
NSBatchUpdateRequest.h (Added)
Added NSBatchUpdateRequest
NSEntityDescription.h
Removed -[NSEntityDescription name]
Removed -[NSEntityDescription setName:]
Removed -[NSEntityDescription userInfo]
Added NSEntityDescription.name
NSEntityMapping.h
Removed -[NSEntityMapping mappingType]
Removed -[NSEntityMapping name]
Removed -[NSEntityMapping setName:]
Removed -[NSEntityMapping setUserInfo:]
Removed -[NSEntityMapping userInfo]
Added NSEntityMapping.name
Added NSEntityMapping.userInfo
NSExpressionDescription.h
NSFetchRequest.h
Removed -[NSFetchRequest affectedStores]
Removed -[NSFetchRequest entity]
Removed -[NSFetchRequest entityName]
Removed -[NSFetchRequest fetchBatchSize]
Removed -[NSFetchRequest fetchLimit]
Removed -[NSFetchRequest fetchOffset]
Removed -[NSFetchRequest predicate]
Removed -[NSFetchRequest resultType]
Removed -[NSFetchRequest setEntity:]
Removed -[NSFetchRequest setFetchLimit:]
Removed -[NSFetchRequest setPredicate:]
Removed -[NSFetchRequest setResultType:]
Added NSFetchRequest.entity
Added NSFetchRequest.predicate
Modified -[NSFetchRequest init]
Declaration | Designated Initializer | |
---|---|---|
From | - (id)init | -- |
To | - (instancetype)init | yes |
Declaration | |
---|---|
From | - (id)initWithEntityName:(NSString *)entityName |
To | - (instancetype)initWithEntityName:(NSString *)entityName |
Modified NSCountResultType
Introduction | |
---|---|
From | OS X 10.7 |
To | OS X 10.6 |
NSFetchRequestExpression.h
NSFetchedPropertyDescription.h
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
Removed -[NSManagedObject entity]
Removed -[NSManagedObject faultingState]
Removed -[NSManagedObject hasChanges]
Removed -[NSManagedObject isDeleted]
Removed -[NSManagedObject isFault]
Removed -[NSManagedObject isInserted]
Removed -[NSManagedObject isUpdated]
Removed -[NSManagedObject objectID]
Added NSManagedObject.deleted
Added NSManagedObject.entity
Added NSManagedObject.fault
Added NSManagedObject.inserted
Added NSManagedObject.objectID
Added NSManagedObject.updated
Declaration | Designated Initializer | |
---|---|---|
From | - (id)initWithEntity:(NSEntityDescription *)entity insertIntoManagedObjectContext:(NSManagedObjectContext *)context | -- |
To | - (instancetype)initWithEntity:(NSEntityDescription *)entity insertIntoManagedObjectContext:(NSManagedObjectContext *)context | yes |
NSManagedObjectContext.h
Removed -[NSManagedObjectContext setParentContext:]
Declaration | Designated Initializer | |
---|---|---|
From | - (id)initWithConcurrencyType:(NSManagedObjectContextConcurrencyType)ct | -- |
To | - (instancetype)initWithConcurrencyType:(NSManagedObjectContextConcurrencyType)ct | yes |
Modified -[NSManagedObjectContext lock]
Deprecation | |
---|---|
From | -- |
To | OS X 10.10 |
Modified -[NSManagedObjectContext tryLock]
Deprecation | |
---|---|
From | -- |
To | OS X 10.10 |
Modified -[NSManagedObjectContext unlock]
Deprecation | |
---|---|
From | -- |
To | OS X 10.10 |
NSManagedObjectID.h
Removed -[NSManagedObjectID entity]
NSManagedObjectModel.h
Removed -[NSManagedObjectModel entities]
Modified -[NSManagedObjectModel init]
Declaration | Designated Initializer | |
---|---|---|
From | - (id)init | -- |
To | - (instancetype)init | yes |
Declaration | |
---|---|
From | - (id)initWithContentsOfURL:(NSURL *)url |
To | - (instancetype)initWithContentsOfURL:(NSURL *)url |
NSMappingModel.h
Removed -[NSMappingModel entityMappings]
Declaration | |
---|---|
From | - (id)initWithContentsOfURL:(NSURL *)url |
To | - (instancetype)initWithContentsOfURL:(NSURL *)url |
NSMergePolicy.h
Declaration | Designated 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 |
Modified -[NSMergePolicy initWithMergeType:]
Designated Initializer | |
---|---|
From | -- |
To | yes |
NSMigrationManager.h
Removed -[NSMigrationManager userInfo]
Declaration | |
---|---|
From | - (id)initWithSourceModel:(NSManagedObjectModel *)sourceModel destinationModel:(NSManagedObjectModel *)destinationModel |
To | - (instancetype)initWithSourceModel:(NSManagedObjectModel *)sourceModel destinationModel:(NSManagedObjectModel *)destinationModel |
NSPersistentStore.h
Removed -[NSPersistentStore URL]
Removed -[NSPersistentStore identifier]
Removed -[NSPersistentStore isReadOnly]
Removed -[NSPersistentStore metadata]
Removed -[NSPersistentStore options]
Removed -[NSPersistentStore setURL:]
Removed -[NSPersistentStore type]
Added NSPersistentStore.URL
Added NSPersistentStore.type
Declaration | Designated 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
Declaration | Designated Initializer | |
---|---|---|
From | - (id)initWithManagedObjectModel:(NSManagedObjectModel *)model | -- |
To | - (instancetype)initWithManagedObjectModel:(NSManagedObjectModel *)model | yes |
Modified -[NSPersistentStoreCoordinator lock]
Deprecation | |
---|---|
From | -- |
To | OS X 10.10 |
Deprecation | |
---|---|
From | -- |
To | OS X 10.10 |
Deprecation | |
---|---|
From | -- |
To | OS X 10.10 |
NSPersistentStoreResult.h (Added)
NSPropertyDescription.h
Removed -[NSPropertyDescription entity]
Removed -[NSPropertyDescription name]
NSPropertyMapping.h
Removed -[NSPropertyMapping name]
Removed -[NSPropertyMapping setName:]
Removed -[NSPropertyMapping userInfo]
NSRelationshipDescription.h
NSSaveChangesRequest.h
Modified -[NSSaveChangesRequest initWithInsertedObjects:updatedObjects:deletedObjects:lockedObjects:]
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 |