Skip to content

CoreData tvOS xcode16.0 b4

Rolf Bjarne Kvinge edited this page Aug 26, 2024 · 3 revisions

#CoreData.framework https://github.com/xamarin/xamarin-macios/pull/21113

diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h	2024-06-28 16:02:04
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h	2024-07-12 00:28:00
@@ -180,6 +180,12 @@
  */
 COREDATA_EXTERN NSString * const NSPersistentStoreDeferredLightweightMigrationOptionKey API_AVAILABLE(macosx(11.0),ios(14.0),tvos(14.0),watchos(7.0));
 
+/* Key to represent the version checksum for the model.
+   This key is in the metadata for a persistent store and can be used to quickly
+   determine if a store and a model are compatible.
+*/
+COREDATA_EXTERN NSString * const NSPersistentStoreModelVersionChecksumKey API_AVAILABLE(macosx(15.0),ios(18.0),tvos(18.0),watchos(11.0),visionos(2.0));
+
 API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
 #if (TARGET_OS_OSX || TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_VISION)
 @interface NSPersistentStoreCoordinator : NSObject <NSLocking> {
@@ -271,6 +277,8 @@
 
 // Finish deferred work from lightweight migration for a single table
 - (BOOL)finishDeferredLightweightMigrationTask:(NSError **)error API_AVAILABLE(macosx(11.0),ios(14.0),tvos(14.0),watchos(7.0));
+    
+- (NSManagedObjectID *)managedObjectIDFromUTF8String:(const char *)utf8string length:(NSUInteger)len API_AVAILABLE(macosx(10.8), ios(5.0)) API_UNAVAILABLE(watchos, tvos, visionos) NS_REFINED_FOR_SWIFT;
 
 #if (TARGET_OS_OSX || TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_VISION)
  /*
Clone this wiki locally