Skip to content

CoreData macOS 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/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSCompositeAttributeDescription.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSCompositeAttributeDescription.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSCompositeAttributeDescription.h	2023-06-24 01:06:16
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSCompositeAttributeDescription.h	2023-07-15 01:23:40
@@ -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/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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/MacOSX.platform/Developer/SDKs/MacOSX.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