Skip to content

CoreData tvOS xcode15.0 b5

Manuel de la Pena edited this page Aug 26, 2023 · 3 revisions

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

diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSCompositeAttributeDescription.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSCompositeAttributeDescription.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSCompositeAttributeDescription.h	2023-06-24 02:53:42
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSCompositeAttributeDescription.h	2023-07-14 23:14:25
@@ -16,7 +16,7 @@
 /*  Elements expects an Attribute or an Array of Attributes
     Will throw if the new value is invalid (ie includes NSRelationshipDescription).
 */
-@property (copy) NSArray *elements;
+@property (copy) NSArray<__kindof NSAttributeDescription *> *elements;
 
 @end
 
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h	2023-06-24 01:09:22
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h	2023-07-14 23:10:47
@@ -92,6 +92,14 @@
  */
 @property (readonly, copy) NSString *versionChecksum API_AVAILABLE(macosx(14.0),ios(17.0),tvos(17.0),watchos(10.0));
 
+/*
+ * This method will retrieve the version checksums for all the models in a versioned model bundle. This method will return nil
+ * if there is an error loading the bundle at the specified URL. Potential errors that might be returned include failures due to a lack of
+ * permissions from sandboxing or data protection, a missing file or general read errors.
+ */
++ (nullable NSDictionary<NSString *, NSString *> *)checksumsForVersionedModelAtURL:(NSURL *)modelURL
+                                                                             error:(NSError **)error NS_REFINED_FOR_SWIFT API_AVAILABLE(macosx(14.0),ios(17.0),tvos(17.0),watchos(10.0));
+
 @end
 
 NS_ASSUME_NONNULL_END
Clone this wiki locally