Skip to content

ModelIO macOS xcode13.0 beta2

Manuel de la Pena edited this page Aug 10, 2021 · 2 revisions

#ModelIO.framework https://github.com/xamarin/xamarin-macios/pull/12349

diff -ruN /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h
--- /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h	2021-06-02 11:06:38.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h	2021-06-17 03:43:25.000000000 -0400
@@ -274,12 +274,17 @@
  */
 - (MDLObject *)objectAtIndex:(NSUInteger)index;
 
+
+@property (nonatomic, retain) id<MDLObjectContainerComponent> masters
+API_DEPRECATED_WITH_REPLACEMENT("originals", ios(10.0,15.0), tvos(10.0,15.0), macos(10.12,12.0));
+
 /*!
- @property masters
- @abstract Master objects that can be instanced into the asset's object hierarchy
+ @property originals
+ @abstract Original objects that can be instanced into the asset's object hierarchy
  @see MDLObjectContainerComponent
  */
-@property (nonatomic, retain) id<MDLObjectContainerComponent> masters;
+@property (nonatomic, retain) id<MDLObjectContainerComponent> originals
+API_AVAILABLE(macos(12.0), tvos(15.0), ios(15.0));
 
 /*!
  @property animations
diff -ruN /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h
--- /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h	2021-06-02 11:06:38.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h	2021-06-22 17:33:39.000000000 -0400
@@ -69,14 +69,14 @@
 /*!
  @property instance
  @abstract Instance object
- @discussion nil, unless this object refers to master data to be instanced. The
-             master data object can be any MDLObject that does not have a parent.
-             If an MDLAsset has been created from a data file, any master objects
-             parsed from that file will be found in the masters property.
-             A typical use of a master and instance might be to have one master
+ @discussion nil, unless this object refers to original data to be instanced. The
+             original data object can be any MDLObject that does not have a parent.
+             If an MDLAsset has been created from a data file, any original objects
+             parsed from that file will be found in the originals property.
+             A typical use of a original and instance might be to have one original
              chair MDLObject, and instance six chairs around a table. The
              transform of each chair would be found on the parent MDLObject, but
-             the various items making up the chair would be found in the master
+             the various items making up the chair would be found in the original
              object.
  */
 @property (nonatomic, nullable, retain) MDLObject* instance;
Clone this wiki locally