CoreData watchOS 3.2 to 4.0 API Differences

CoreDataErrors.h
NSAttributeDescription.h
NSEntityDescription.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse NSEntityDescription.indexes instead

NSFetchIndexDescription.h
NSFetchIndexElementDescription.h
NSManagedObjectContext.h
Declaration
From- (void)performBlock:(nonnull void (^)())block
To- (void)performBlock:(nonnull void (^)(void))block

Declaration
From- (void)performBlockAndWait:(nonnull void (^)())block
To- (void)performBlockAndWait:(nonnull void (^)(void))block

NSPersistentHistoryChange.h
NSPersistentHistoryChangeRequest.h
NSPersistentHistoryToken.h
NSPersistentHistoryTransaction.h
NSPersistentStoreCoordinator.h
Declaration
From- (void)performBlock:(nonnull void (^)())block
To- (void)performBlock:(nonnull void (^)(void))block

Declaration
From- (void)performBlockAndWait:(nonnull void (^)())block
To- (void)performBlockAndWait:(nonnull void (^)(void))block

NSPersistentStoreResult.h
NSPropertyDescription.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse NSEntityDescription.indexes instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedSpotlight integration is deprecated. Use CoreSpotlight integration instead.

NSQueryGenerationToken.h
Protocols
FromNSCopying
ToNSCopying, NSSecureCoding