Skip to content

ModelIO macOS xcode9 beta5

Vincent Dondain edited this page Aug 7, 2017 · 1 revision

#ModelIO.framework

diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAnimation.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAnimation.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAnimation.h	2017-07-13 16:39:12.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAnimation.h	2017-07-28 00:54:30.000000000 -0400
@@ -42,17 +42,15 @@
 
 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0))
 MDL_EXPORT
-@interface MDLAnimationBindComponent : NSObject<MDLNamed, NSCopying, MDLComponent>
+@interface MDLAnimationBindComponent : NSObject<NSCopying, MDLComponent>
 
 @property (nonatomic, nullable, retain) MDLSkeleton* skeleton;
 @property (nonatomic, nullable, retain) id<MDLJointAnimation> jointAnimation;
 
-@property (nonatomic) matrix_float4x4 geometryBindTransform;
+ // optional. If set, jointIndices vertex buffers index into this list of joints.
+@property (nonatomic, nullable, retain) NSArray<NSString *> *jointPaths;
 
--(instancetype) initWithName:(NSString *)name
-                    skeleton:(MDLSkeleton *)skeleton
-              jointAnimation:(id<MDLJointAnimation>)jointAnimation
-       geometryBindTransform:(matrix_float4x4)geometryBindTransform;
+@property (nonatomic) matrix_double4x4 geometryBindTransform;
 @end
 
 
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h	2017-07-14 05:33:24.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h	2017-07-28 02:19:20.000000000 -0400
@@ -25,7 +25,7 @@
  @abstract An MDLAsset represents the contents of a model file.
  
  @discussion Each asset contains a collection of hierarchies of objects, where 
-             each object in the asset is the top level of a hierarchy. Objects 
+             each object in the asset is the top level of a hierarchy. Objects
              include transforms, lights, cameras, and meshes.
  
  MDLAssets are typically instantiated from NSURLs that refer to a model resource.
@@ -63,22 +63,6 @@
              Submeshes will be converted to triangle topology.
  */
 - (instancetype)initWithURL:(NSURL *)URL;
-
-
-/*!
- @method initWithURL:bufferAllocator:preserveIndexing:error
- @abstract Initialize with contents of URL, preserving indexing in the original file
- 
- @discussion Some file formats allow independent indexing of vertex attritutes,
- for example, there might be more data entries for vertex positions than
- for normals. The vertex buffers and submesh index buffers will be
- created exactly as they were in the originating file.
- */
-- (instancetype)initWithURL:(NSURL *)URL
-            bufferAllocator:(nullable id<MDLMeshBufferAllocator>)bufferAllocator
-           preserveIndexing:(BOOL)preserveIndexing
-                      error:(NSError * __nullable * __nullable)error;
-
 /*!
  @method initWithURL:vertexDescriptor:bufferAllocator:
  @abstract Initialize an MDLAsset using the contents of the resource located at 
@@ -144,7 +128,7 @@
 /*!
  @abstract Return the object at the specified path, or nil if none exists there
  */
-- (MDLObject*)objectAtPath:(NSString*)path;
+- (MDLObject*)objectAtPath:(NSString*)path API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 /*!
  @method canImportFileExtension:
@@ -176,11 +160,11 @@
 
 /*!
  @method loadTextures
- @abstract Iterates all material properties on all materials. If they are string 
+ @abstract Iterates over all material properties on all materials. If they are string
            values or NSURL values, and can be resolved as textures, then the string 
            and NSURL values will be replaced by MDLTextureSampler values.
  */
-- (void)loadTextures;
+- (void)loadTextures API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 /*!
  @method boundingBoxAtTime:
@@ -228,7 +212,7 @@
  @discussion Some imported formats specify a scene up axis. By default Y-axis (0, 1, 0) is used
  but other values are supported.
  */
-@property (nonatomic, readwrite) vector_float3 upAxis;
+@property (nonatomic, readwrite) vector_float3 upAxis API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 /*!
  @property URL
@@ -242,7 +226,7 @@
  @abstract Resolver asset that helps find associated files
  @discussion The default asset resolver is the RelativeAssetResolver
  */
-@property (nonatomic, retain, nullable) id<MDLAssetResolver> resolver;
+@property (nonatomic, retain, nullable) id<MDLAssetResolver> resolver API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 
 /*!
@@ -302,7 +286,7 @@
  @abstract Animations that can be bound to MDLObjects (@see MDLAnimationBindComponent)
  @discussion @see MDLObjectContainerComponent
  */
-@property (nonatomic, retain) id<MDLObjectContainerComponent> animations;
+@property (nonatomic, retain) id<MDLObjectContainerComponent> animations API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 @end
 
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLLight.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLLight.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLLight.h	2017-07-14 04:59:09.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLLight.h	2017-07-28 03:56:05.000000000 -0400
@@ -129,7 +129,7 @@
  the parameter textureSize is the size in pixels of the texture image. For a size of N,
  1D generates an Nx1 image, 2D generates an NxN image, 3D generates an Nx(N*6) image (i.e. cubemap).
  */
--(MDLTexture*)generateTexture:(NSUInteger)textureSize;
+-(MDLTexture*)generateTexture:(NSUInteger)textureSize API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 @property (nonatomic, retain, nullable, readonly) MDLTexture *lightCubeMap;
 
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMaterial.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMaterial.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMaterial.h	2017-07-14 05:33:24.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMaterial.h	2017-07-28 02:19:20.000000000 -0400
@@ -374,14 +374,14 @@
 - (nullable MDLMaterialProperty*)propertyWithSemantic:(MDLMaterialSemantic)semantic;
 
 // Returns the complete list of properties that match the semantic (e.g. Kd & Kd_map)
-- (NSArray<MDLMaterialProperty *> *)propertiesWithSemantic:(MDLMaterialSemantic)semantic;
+- (NSArray<MDLMaterialProperty *> *)propertiesWithSemantic:(MDLMaterialSemantic)semantic API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 - (void)removeAllProperties;
 
 // Iterates all material properties. If they are string values, they are resolved into
 // valid paths as NSURL values.
 // @param resolver If non-nil, the resolver can be invoked to convert stringValues
 //                 to NSURLs for loading.
-- (void)resolveTexturesWithResolver:(id<MDLAssetResolver>)resolver;
+- (void)resolveTexturesWithResolver:(id<MDLAssetResolver>)resolver API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 // Iterates all material properties. If they are string values or NSURL values, and
 // can be resolved as textures, then the string and NSURL values will be replaced by
@@ -389,7 +389,7 @@
 // wrap modes will be clamp, and the filter modes will be linear.
 // @param resolver If non-nil, the resolver can be invoked to convert stringValues
 //                 to NSURLs for loading.
-- (void)loadTexturesUsingResolver:(id<MDLAssetResolver>)resolver;
+- (void)loadTexturesUsingResolver:(id<MDLAssetResolver>)resolver API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 @property (nonatomic, readonly, retain) MDLScatteringFunction *scatteringFunction;
 
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMesh.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMesh.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMesh.h	2017-07-14 04:58:47.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMesh.h	2017-07-28 02:59:44.000000000 -0400
@@ -30,7 +30,7 @@
 @property (nonatomic) void *dataStart;
 @property (nonatomic) NSUInteger stride;
 @property (nonatomic) MDLVertexFormat format;
-@property (nonatomic) NSUInteger bufferSize;
+@property (nonatomic) NSUInteger bufferSize API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 @end
 
@@ -138,8 +138,9 @@
 /*!
  @property vertexCount
  @abstract Number of vertices in the vertexBuffers
- @discussion This value is valid only if the mesh was initialized
-             with an explicit vertex count
+ @discussion The size of vertex data in each buffer can be computed by multiplying
+             this value with the stride of the buffer in the vertexDescriptor's
+             layout
  */
 @property (nonatomic, readwrite) NSUInteger vertexCount;
 
@@ -283,7 +284,7 @@
 */
 - (void)addOrthTanBasisForTextureCoordinateAttributeNamed:(NSString *)textureCoordinateAttributeName
                                      normalAttributeNamed:(NSString *)normalAttributeName
-                                    tangentAttributeNamed:(NSString *)tangentAttributeName;
+                                    tangentAttributeNamed:(NSString *)tangentAttributeName API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 /*!
  @method addTextureCoordinatesForAttributeNamed:textureCoordinateAttributeName
@@ -306,7 +307,7 @@
              coordinate attribute exists on the mesh. An exception will be raised if
              the attribute cannot be found
  */
-- (void)flipTextureCoordinatesInAttributeNamed:(NSString*)textureCoordinateAttributeName;
+- (void)flipTextureCoordinatesInAttributeNamed:(NSString*)textureCoordinateAttributeName API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 /*!
  @method makeVerticesUnique:
@@ -325,7 +326,7 @@
  vertices so faces do not share vertices. The vertex buffer and index
  buffers on submeshes may grow to accomadate any vertices added.
  */
-- (BOOL)makeVerticesUniqueAndReturnError:(NSError **)error;
+- (BOOL)makeVerticesUniqueAndReturnError:(NSError **)error API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 /*!
  @method replaceAttributeNamed:withData
@@ -590,7 +591,7 @@
                   hemisphereSegments:(NSUInteger)hemisphereSegments
                         geometryType:(MDLGeometryType)geometryType
                        inwardNormals:(BOOL)inwardNormals
-                           allocator:(nullable id<MDLMeshBufferAllocator>)allocator;
+                           allocator:(nullable id<MDLMeshBufferAllocator>)allocator API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 + (instancetype)newEllipticalConeWithHeight:(float)height
                                       radii:(vector_float2)radii
                              radialSegments:(NSUInteger)radialSegments
@@ -605,7 +606,7 @@
 + (instancetype)newIcosahedronWithRadius:(float)radius
                            inwardNormals:(BOOL)inwardNormals
                             geometryType:(MDLGeometryType)geometryType
-                               allocator:(nullable id<MDLMeshBufferAllocator>)allocator;
+                               allocator:(nullable id<MDLMeshBufferAllocator>)allocator API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 + (instancetype)newIcosahedronWithRadius:(float)radius
                            inwardNormals:(BOOL)inwardNormals
                                allocator:(nullable id<MDLMeshBufferAllocator>)allocator;
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h	2017-07-13 16:39:12.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h	2017-07-28 03:56:05.000000000 -0400
@@ -101,7 +101,7 @@
 - (void)enumerateChildObjectsOfClass:(Class)objectClass
                                 root:(MDLObject*)root
                           usingBlock:( void(^)(MDLObject* object, BOOL *stop))block
-                         stopPointer:(BOOL *)stopPointer;
+                         stopPointer:(BOOL *)stopPointer API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 
 /*!
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTexture.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTexture.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTexture.h	2017-07-14 19:12:04.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTexture.h	2017-07-28 02:19:20.000000000 -0400
@@ -125,16 +125,16 @@
 - (BOOL)writeToURL:(NSURL *)URL;
 
 /** write a particular level of a mipped texture to URL, deducing type from path extension */
-- (BOOL)writeToURL:(NSURL *)URL level:(NSUInteger)level;
+- (BOOL)writeToURL:(NSURL *)URL level:(NSUInteger)level API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 /** write a texture to URL, using a specific UT type */
 - (BOOL)writeToURL:(NSURL *)nsurl type:(CFStringRef)type;
 
 /** write a particular level of a mipped texture to URL, using a specific UT type */
-- (BOOL)writeToURL:(NSURL *)nsurl type:(CFStringRef)type level:(NSUInteger)level;
+- (BOOL)writeToURL:(NSURL *)nsurl type:(CFStringRef)type level:(NSUInteger)level API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 - (nullable CGImageRef)imageFromTexture;
-- (nullable CGImageRef)imageFromTextureAtLevel:(NSUInteger)level;
+- (nullable CGImageRef)imageFromTextureAtLevel:(NSUInteger)level API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 - (nullable NSData *)texelDataWithTopLeftOrigin;
 - (nullable NSData *)texelDataWithBottomLeftOrigin;
@@ -272,7 +272,8 @@
                 sunElevation:(float)sunElevation              // from 0 to 1 zenith to nadir
                   sunAzimuth:(float)sunAzimuth                // from 0 to 2Pi
    upperAtmosphereScattering:(float)upperAtmosphereScattering // how intense the sun looks, 0 to 1
-                groundAlbedo:(float)groundAlbedo;             // how much sky color is reflected from the Earth
+                groundAlbedo:(float)groundAlbedo              // how much sky color is reflected from the Earth
+API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 /**
  Call updateTexture if parameters have been changed and a new sky is required.
@@ -281,7 +282,7 @@
 
 @property (nonatomic, assign) float turbidity;
 @property (nonatomic, assign) float sunElevation;
-@property (nonatomic, assign) float sunAzimuth;
+@property (nonatomic, assign) float sunAzimuth API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 @property (nonatomic, assign) float upperAtmosphereScattering;
 @property (nonatomic, assign) float groundAlbedo;
 
@@ -374,7 +375,7 @@
 - (instancetype)initCellularNoiseWithFrequency:(float)frequency
                                           name:(nullable NSString*)name
                              textureDimensions:(vector_int2)textureDimensions
-                               channelEncoding:(MDLTextureChannelEncoding)channelEncoding;
+                               channelEncoding:(MDLTextureChannelEncoding)channelEncoding API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 @end
 
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h	2017-07-14 04:59:09.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h	2017-07-28 03:56:05.000000000 -0400
@@ -101,7 +101,7 @@
 - (vector_float3)shearAtTime:(NSTimeInterval)time;
 - (vector_float3)scaleAtTime:(NSTimeInterval)time;
 
-- (void)setMatrix:(matrix_float4x4)matrix forTime:(NSTimeInterval)time;
+- (void)setMatrix:(matrix_float4x4)matrix forTime:(NSTimeInterval)time API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 - (void)setTranslation:(vector_float3)translation forTime:(NSTimeInterval)time;
 - (void)setRotation:(vector_float3)rotation forTime:(NSTimeInterval)time;
 - (void)setShear:(vector_float3)shear forTime:(NSTimeInterval)time;
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTypes.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTypes.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTypes.h	2017-07-13 16:39:12.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLTypes.h	2017-07-28 00:54:30.000000000 -0400
@@ -58,7 +58,7 @@
     MDLDataPrecisionUndefined,
     MDLDataPrecisionFloat,
     MDLDataPrecisionDouble
-};
+} API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 NS_CLASS_AVAILABLE(10_11, 9_0)
 MDL_EXPORT
@@ -80,9 +80,9 @@
 
 - (void)addObject:(MDLObject*)object;
 - (void)removeObject:(MDLObject*)object;
-- (MDLObject *)objectAtIndexedSubscript:(NSUInteger)index;
+- (MDLObject *)objectAtIndexedSubscript:(NSUInteger)index API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
-@property (readonly) NSUInteger count;
+@property (readonly) NSUInteger count API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 // returns an array of this object's contained objects, aka children
 @property (nonatomic, readonly, retain) NSArray<MDLObject*> *objects;
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLVoxelArray.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLVoxelArray.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLVoxelArray.h	2017-07-14 19:12:04.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLVoxelArray.h	2017-07-28 00:54:30.000000000 -0400
@@ -87,7 +87,7 @@
                     divisions:(int)divisions
                interiorShells:(int)interiorShells
                exteriorShells:(int)exteriorShells
-                  patchRadius:(float)patchRadius;
+                  patchRadius:(float)patchRadius NS_DEPRECATED(10_11, 10_12, NA, NA);
 
 /**
  Initialize a voxel grid from an MDLAsset and dilate the resulting voxels by
Clone this wiki locally