CoreData Changes for Objective-C
CoreData
CoreDataDefines.h
NSBatchUpdateRequest.h
Designated Initializer | |
---|---|
From | -- |
To | yes |
Designated Initializer | |
---|---|
From | -- |
To | yes |
NSFetchedResultsController.h
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *fetchedObjects |
To | @property(nonatomic, readonly) NSArray<ResultType> *fetchedObjects |
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSFetchRequest *fetchRequest |
To | @property(nonatomic, readonly) NSFetchRequest<ResultType> *fetchRequest |
Declaration | |
---|---|
From | - (NSIndexPath *)indexPathForObject:(id)object |
To | - (NSIndexPath *)indexPathForObject:(ResultType)object |
Declaration | |
---|---|
From | - (instancetype)initWithFetchRequest:(NSFetchRequest *)fetchRequest managedObjectContext:(NSManagedObjectContext *)context sectionNameKeyPath:(NSString *)sectionNameKeyPath cacheName:(NSString *)name |
To | - (instancetype)initWithFetchRequest:(NSFetchRequest<ResultType> *)fetchRequest managedObjectContext:(NSManagedObjectContext *)context sectionNameKeyPath:(NSString *)sectionNameKeyPath cacheName:(NSString *)name |
Declaration | |
---|---|
From | - (id)objectAtIndexPath:(NSIndexPath *)indexPath |
To | - (ResultType)objectAtIndexPath:(NSIndexPath *)indexPath |
NSFetchRequest.h
Added NSFetchRequestResult
Added NSDictionary(NSFetchedResultSupport)
Added NSManagedObject(NSFetchedResultSupport)
Added NSManagedObjectID(NSFetchedResultSupport)
Added NSNumber(NSFetchedResultSupport)
Modified NSAsynchronousFetchRequest
Header | |
---|---|
From | CoreData/NSPersistentStoreRequest.h |
To | CoreData/NSFetchRequest.h |
Header | |
---|---|
From | CoreData/NSPersistentStoreRequest.h |
To | CoreData/NSFetchRequest.h |
Header | |
---|---|
From | CoreData/NSPersistentStoreRequest.h |
To | CoreData/NSFetchRequest.h |
Declaration | Header | |
---|---|---|
From | @property(strong, readonly) NSFetchRequest *fetchRequest | CoreData/NSPersistentStoreRequest.h |
To | @property(strong, readonly) NSFetchRequest<ResultType> *fetchRequest | CoreData/NSFetchRequest.h |
Declaration | Header | |
---|---|---|
From | - (instancetype)initWithFetchRequest:(NSFetchRequest *)request completionBlock:(NSPersistentStoreAsynchronousFetchResultCompletionBlock)blk | CoreData/NSPersistentStoreRequest.h |
To | - (instancetype)initWithFetchRequest:(NSFetchRequest<ResultType> *)request completionBlock:(void (^)(NSAsynchronousFetchResult<ResultType> *))blk | CoreData/NSFetchRequest.h |
Header | |
---|---|
From | CoreData/NSPersistentStoreRequest.h |
To | CoreData/NSFetchRequest.h |
NSManagedObject.h
NSManagedObjectContext.h
NSMergePolicy.h
NSPersistentContainer.h (Added)
Added NSPersistentContainer
NSPersistentStoreCoordinator.h
Modified +[NSPersistentStoreCoordinator removeUbiquitousContentAndPersistentStoreAtURL:options:error:]
Introduction | Deprecation | |
---|---|---|
From | iOS 7.0 | -- |
To | iOS 5.0 | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
NSPersistentStoreDescription.h (Added)
NSPersistentStoreRequest.h
Modified NSAsynchronousFetchRequest
Header | |
---|---|
From | CoreData/NSPersistentStoreRequest.h |
To | CoreData/NSFetchRequest.h |
Header | |
---|---|
From | CoreData/NSPersistentStoreRequest.h |
To | CoreData/NSFetchRequest.h |
Header | |
---|---|
From | CoreData/NSPersistentStoreRequest.h |
To | CoreData/NSFetchRequest.h |
Declaration | Header | |
---|---|---|
From | @property(strong, readonly) NSFetchRequest *fetchRequest | CoreData/NSPersistentStoreRequest.h |
To | @property(strong, readonly) NSFetchRequest<ResultType> *fetchRequest | CoreData/NSFetchRequest.h |
Declaration | Header | |
---|---|---|
From | - (instancetype)initWithFetchRequest:(NSFetchRequest *)request completionBlock:(NSPersistentStoreAsynchronousFetchResultCompletionBlock)blk | CoreData/NSPersistentStoreRequest.h |
To | - (instancetype)initWithFetchRequest:(NSFetchRequest<ResultType> *)request completionBlock:(void (^)(NSAsynchronousFetchResult<ResultType> *))blk | CoreData/NSFetchRequest.h |
Header | |
---|---|
From | CoreData/NSPersistentStoreRequest.h |
To | CoreData/NSFetchRequest.h |
NSPersistentStoreResult.h
Declaration | |
---|---|
From | @property(strong, readonly) NSAsynchronousFetchRequest *fetchRequest |
To | @property(strong, readonly) NSAsynchronousFetchRequest<ResultType> *fetchRequest |
Declaration | |
---|---|
From | @property(strong, readonly) NSArray *finalResult |
To | @property(strong, readonly) NSArray<ResultType> *finalResult |