Skip to content

MetalKit tvOS 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/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2024-04-13 21:48:53
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2024-05-30 04:02:08
@@ -23,6 +23,7 @@
 #if defined(TARGET_OS_VISION) && TARGET_OS_VISION
 API_UNAVAILABLE(visionos)
 #endif
+NS_SWIFT_UI_ACTOR
 @interface MTKView : UIView <NSCoding,CALayerDelegate>
 
 /*!
@@ -246,13 +247,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