Skip to content

SwiftUI iOS xcode16.0 b1

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

#SwiftUI.framework

diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SwiftUI.framework/Headers/SwiftUI.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SwiftUI.framework/Headers/SwiftUI.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SwiftUI.framework/Headers/SwiftUI.h	2024-04-18 08:34:07
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SwiftUI.framework/Headers/SwiftUI.h	2024-05-30 11:32:56
@@ -3,17 +3,19 @@
 #import <TargetConditionals.h>
 
 #if !__METAL_VERSION__
-    #if TARGET_OS_OSX && __has_include(<AppKit/AppKit.h>)
-    # import <AppKit/AppKit.h>
-    #endif
 
-    #if !TARGET_OS_OSX && __has_include(<UIKit/UIKit.h>)
-    # import <UIKit/UIKit.h>
-    #endif
+#if TARGET_OS_OSX && __has_include(<AppKit/AppKit.h>)
+#import <AppKit/AppKit.h>
+#endif
 
-    #if TARGET_OS_WATCH && __has_include(<WatchKit/WatchKit.h>)
-    # import <WatchKit/WatchKit.h>
-    #endif
+#if !TARGET_OS_OSX && __has_include(<UIKit/UIKit.h>)
+#import <UIKit/UIKit.h>
+#endif
+
+#if TARGET_OS_WATCH && __has_include(<WatchKit/WatchKit.h>)
+#import <WatchKit/WatchKit.h>
+#endif
+
 #else
-# include <SwiftUI/SwiftUI_Metal.h>
+#include <SwiftUI/SwiftUI_Metal.h>
 #endif
Clone this wiki locally