Skip to content

MetalKit tvOS xcode15.0 b5

Manuel de la Pena edited this page Oct 19, 2023 · 3 revisions

#MetalKit.framework https://github.com/xamarin/xamarin-macios/pull/19274

diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2023-06-24 21:48:43
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2023-07-13 21:48:38
@@ -20,8 +20,8 @@
  @abstract View for rendering metal content
  */
 API_AVAILABLE(macos(10.11), ios(9.0))
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+API_UNAVAILABLE(visionos)
 #endif
 @interface MTKView : UIView <NSCoding,CALayerDelegate>
 
@@ -234,8 +234,8 @@
  @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_XR) && TARGET_OS_XR
-API_UNAVAILABLE(xros)
+#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
+API_UNAVAILABLE(visionos)
 #endif
 @protocol MTKViewDelegate <NSObject>
 
Clone this wiki locally