Skip to content

MetalKit iOS xcode9 beta5

Vincent Dondain edited this page Aug 7, 2017 · 2 revisions

#MetalKit.framework

diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2017-07-13 04:42:28.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2017-07-28 02:57:25.000000000 -0400
@@ -157,7 +157,7 @@
 /*!
  @property autoResizeDrawable
  @abstract Controls whether to resize the drawable as the view changes size.
- @discussion If true, the size of the currentDrawable's texture, depthStencilTexture, and multisampleColorTexture will automatically resize as the view resizes.  If false, these textures will take on the size of drawableSize and drawaableSize will not change. The default value is true.
+ @discussion If true, the size of the currentDrawable's texture, depthStencilTexture, and multisampleColorTexture will automatically resize as the view resizes.  If false, these textures will take on the size of drawableSize and drawableSize will not change. The default value is true.
  */
 @property (nonatomic) BOOL autoResizeDrawable;
 
diff -ruN /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MetalKit.apinotes /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MetalKit.apinotes
--- /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MetalKit.apinotes	2017-07-10 13:47:53.000000000 -0400
+++ /Applications/Xcode9-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MetalKit.apinotes	2017-07-28 02:50:48.000000000 -0400
@@ -1,5 +1,66 @@
 ---
 Name: MetalKit
+Functions:
+- Name: MTKMetalVertexDescriptorFromModelIOWithError
+  SwiftPrivate: true
+- Name: MTKModelIOVertexDescriptorFromMetalWithError
+  SwiftPrivate: true
+Classes:
+- Name: MTKMesh
+  Methods:
+  - Selector: "newMeshesFromAsset:device:sourceMeshes:error:"
+    MethodKind: Class
+    SwiftPrivate: true
+- Name: MTKTextureLoader
+  Methods:
+  - Selector: "newTextureWithContentsOfURL:options:completionHandler:"
+    SwiftName: newTexture(URL:options:completionHandler:)
+    MethodKind: Instance
+  - Selector: "newTextureWithName:scaleFactor:bundle:options:completionHandler:"
+    MethodKind: Instance
+    SwiftName: newTexture(name:scaleFactor:bundle:options:completionHandler:)
+  - Selector: "newTextureWithName:scaleFactor:displayGamut:bundle:options:completionHandler:"
+    SwiftName: newTexture(name:scaleFactor:displayGamut:bundle:options:completionHandler:)
+    MethodKind: Instance
+  - Selector: "newTexturesWithContentsOfURLs:options:completionHandler:"
+    SwiftName: newTextures(URLs:options:completionHandler:)
+    MethodKind: Instance
+  - Selector: "newTexturesWithNames:scaleFactor:bundle:options:completionHandler:"
+    SwiftName: newTextures(names:scaleFactor:bundle:options:completionHandler:)
+    MethodKind: Instance
+  - Selector: "newTexturesWithNames:scaleFactor:displayGamut:bundle:options:completionHandler:"
+    SwiftName: newTextures(names:scaleFactor:displayGamut:bundle:options:completionHandler:)
+    MethodKind: Instance
+  - Selector: "newTextureWithData:options:completionHandler:"
+    SwiftName: newTexture(data:options:completionHandler:)
+    MethodKind: Instance
+  - Selector: "newTextureWithCGImage:options:completionHandler:"
+    SwiftName: newTexture(cgImage:options:completionHandler:)
+    MethodKind: Instance
+  - Selector: "newTextureWithMDLTexture:options:completionHandler:"
+    SwiftName: newTexture(texture:options:completionHandler:)
+    MethodKind: Instance
+  - Selector: "newTextureWithContentsOfURL:options:error:"
+    SwiftName: newTexture(URL:options:)
+    MethodKind: Instance
+  - Selector: "newTexturesWithContentsOfURLs:options:error:"
+    SwiftName: newTextures(URLs:options:error:)
+    MethodKind: Instance
+  - Selector: "newTextureWithData:options:error:"
+    SwiftName: newTexture(data:options:)
+    MethodKind: Instance
+  - Selector: "newTextureWithCGImage:options:error:"
+    SwiftName: newTexture(cgImage:options:)
+    MethodKind: Instance
+  - Selector: "newTextureWithMDLTexture:options:error:"
+    SwiftName: newTexture(texture:options:)
+    MethodKind: Instance
+  - Selector: "newTextureWithName:scaleFactor:bundle:options:error:"
+    SwiftName: newTexture(name:scaleFactor:bundle:options:)
+    MethodKind: Instance
+  - Selector: "newTextureWithName:scaleFactor:displayGamut:bundle:options:error:"
+    SwiftName: newTexture(name:scaleFactor:displayGamut:bundle:options:)
+    MethodKind: Instance
 
 SwiftVersions:
 - Version: 3
@@ -23,7 +84,15 @@
     NullabilityOfRet: N
   - Name: MTKMetalVertexDescriptorFromModelIOWithError
     NullabilityOfRet: N
+    SwiftPrivate: false
+  - Name: MTKModelIOVertexDescriptorFromMetalWithError
+    SwiftPrivate: false
   Classes:
+  - Name: MTKMesh
+    Methods:
+    - Selector: "newMeshesFromAsset:device:sourceMeshes:error:"
+      MethodKind: Class
+      SwiftPrivate: false
   - Name: MTKTextureLoader
     Methods:
     - Selector: "newTextureWithContentsOfURL:options:completionHandler:"
@@ -54,6 +123,8 @@
     - Selector: "newTexturesWithNames:scaleFactor:displayGamut:bundle:options:completionHandler:"
       MethodKind: Instance
       Parameters:
+      - Position: 2
+        Type: "_Nullable CGColorSpaceRef"
       - Position: 4
         Type: "NSDictionary <MTKTextureLoaderOption, NSObject *> * _Nullable"
     - Selector: "newTextureWithData:options:completionHandler:"
@@ -104,5 +175,7 @@
     - Selector: "newTextureWithName:scaleFactor:displayGamut:bundle:options:error:"
       MethodKind: Instance
       Parameters:
+      - Position: 2
+        Type: "_Nullable CGColorSpaceRef"
       - Position: 4
         Type: "NSDictionary <MTKTextureLoaderOption, NSObject *> * _Nullable"
Clone this wiki locally