Skip to content

MetalKit macOS xcode16.0 b1

Rolf Bjarne Kvinge edited this page Jun 18, 2024 · 2 revisions

#MetalKit.framework

diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2024-04-13 21:27:22
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2024-05-30 03:33:14
@@ -20,9 +20,7 @@
  @abstract View for rendering metal content
  */
 API_AVAILABLE(macos(10.11), ios(9.0))
-#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
-API_UNAVAILABLE(visionos)
-#endif
+NS_SWIFT_UI_ACTOR
 @interface MTKView : NSView <NSCoding,CALayerDelegate>
 
 /*!
@@ -234,9 +232,6 @@
  @abstract Allows an object to render into the view and respond to resize events
  */
 API_AVAILABLE(macos(10.11), ios(9.0))
-#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
-API_UNAVAILABLE(visionos)
-#endif
 @protocol MTKViewDelegate <NSObject>
 
 /*!
@@ -246,13 +241,13 @@
  @param view MTKView which called this method
  @param size New drawable size in pixels
  */
-- (void)mtkView:(nonnull MTKView *)view drawableSizeWillChange:(CGSize)size;
+- (void)mtkView:(nonnull MTKView *)view drawableSizeWillChange:(CGSize)size NS_SWIFT_UI_ACTOR;
 
 /*!
  @method drawInMTKView:
  @abstract Called on the delegate when it is asked to render into the view
  @discussion Called on the delegate when it is asked to render into the view
  */
-- (void)drawInMTKView:(nonnull MTKView *)view;
+- (void)drawInMTKView:(nonnull MTKView *)view NS_SWIFT_UI_ACTOR;
 
 @end

Clone this wiki locally