- Notifications
You must be signed in to change notification settings - Fork 548
ExtensionKit iOS xcode26.0 b1
Rolf Bjarne Kvinge edited this page Aug 5, 2025 · 3 revisions
#ExtensionKit.framework https://github.com/dotnet/macios/pull/23483
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExtensionKit.framework/Headers/EXAppExtensionBrowserViewController.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExtensionKit.framework/Headers/EXAppExtensionBrowserViewController.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExtensionKit.framework/Headers/EXAppExtensionBrowserViewController.h 2025-04-19 06:59:57 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExtensionKit.framework/Headers/EXAppExtensionBrowserViewController.h 2025-05-24 07:48:02 @@ -17,12 +17,10 @@ NS_ASSUME_NONNULL_BEGIN -API_AVAILABLE(macos(13.0)) -API_UNAVAILABLE(ios) -API_UNAVAILABLE(watchos, tvos) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION +API_AVAILABLE(macos(13.0), ios(18)) +API_UNAVAILABLE(watchos) +API_UNAVAILABLE(tvos) API_UNAVAILABLE(visionos) -#endif EXTENSIONKIT_EXPORT #if TARGET_OS_OSX /// A view controller that allows users to enable and disable extensions. diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExtensionKit.framework/Headers/EXHostViewController.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExtensionKit.framework/Headers/EXHostViewController.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExtensionKit.framework/Headers/EXHostViewController.h 2025-04-19 06:59:57 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ExtensionKit.framework/Headers/EXHostViewController.h 2025-05-24 07:48:02 @@ -6,8 +6,9 @@ #import <ExtensionFoundation/ExtensionFoundation.h> #import <Foundation/Foundation.h> -#if !TARGET_OS_WATCH +#if TARGET_OS_OSX || __has_include(<UIKit/UIKit.h>) + #if TARGET_OS_OSX #import <AppKit/AppKit.h> #else @@ -18,11 +19,8 @@ @protocol EXHostViewControllerDelegate; -API_AVAILABLE(macos(13.0)) -API_UNAVAILABLE(ios, watchos, tvos) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -API_UNAVAILABLE(visionos) -#endif +API_AVAILABLE(macos(13.0), ios(26.0)) +API_UNAVAILABLE(watchos, tvos, visionos) EXTENSIONKIT_EXPORT #if TARGET_OS_OSX /// A view controller that hosts remote views provided by an extension. @@ -50,11 +48,8 @@ @end -API_AVAILABLE(macos(13.0)) -API_UNAVAILABLE(ios, watchos, tvos) -#if defined(TARGET_OS_VISION) && TARGET_OS_VISION -API_UNAVAILABLE(visionos) -#endif +API_AVAILABLE(macos(13.0), ios(26.0)) +API_UNAVAILABLE(watchos, tvos, visionos) /// The delegate for a hosted view controller. @protocol EXHostViewControllerDelegate <NSObject> @optional @@ -88,4 +83,4 @@ NS_ASSUME_NONNULL_END -#endif // !TARGET_OS_WATCH +#endif