- Notifications
You must be signed in to change notification settings - Fork548
UIKit tvOS xcode16.1 b3
Alex Soto edited this pageOct 25, 2024 ·2 revisions
#UIKit.frameworkhttps://github.com/xamarin/xamarin-macios/pull/21522
diff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h2024-09-04 00:46:15+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h2024-09-30 02:55:42@@ -255,6 +255,7 @@ typedef UIAccessibilityContainerType (^AXContainerTypeReturnBlock)(void) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR; typedef __nullable UIAccessibilityTextualContext (^AXTextualContextReturnBlock)(void) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR; typedef NSArray<UIAccessibilityCustomAction *> * __nullable (^AXCustomActionsReturnBlock)(void) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;+typedef __nullable id<UITextInput> (^AXUITextInputReturnBlock)(void) API_AVAILABLE(ios(18.1), visionos(2.1)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR; // Basic accessibility @property (nullable, nonatomic, copy) AXBoolReturnBlock isAccessibilityElementBlock API_AVAILABLE(ios(17.0), tvos(17.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;@@ -497,6 +498,15 @@ @property (nullable, nonatomic, strong) id accessibilityNextTextNavigationElement API_AVAILABLE(ios(18.0), visionos(2.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR; @property (nullable, nonatomic, copy) AXObjectReturnBlock accessibilityPreviousTextNavigationElementBlock API_AVAILABLE(ios(18.0), visionos(2.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR; @property (nullable, nonatomic, copy) AXObjectReturnBlock accessibilityNextTextNavigationElementBlock API_AVAILABLE(ios(18.0), visionos(2.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR;++@end++@interface NSObject (UIAccessibilityTextOperations)++// If your accessibility element represents a view that supports text operations via the UITextInput+// protocol, you may use this property to forward UITextInput calls to your backing view+@property (nullable, nonatomic, weak) id<UITextInput> accessibilityTextInputResponder API_AVAILABLE(ios(18.1), visionos(2.1)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR;+@property (nullable, nonatomic, copy) AXUITextInputReturnBlock accessibilityTextInputResponderBlock API_AVAILABLE(ios(18.1), visionos(2.1)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR; @enddiff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h2024-09-03 02:04:59+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h2024-10-02 01:22:02@@ -156,6 +156,9 @@ /// New scene menu UIKIT_EXTERN const UIMenuIdentifier UIMenuNewScene API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos);+/// Open menu+UIKIT_EXTERN const UIMenuIdentifier UIMenuOpen API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);+ /// Open Recent menu UIKIT_EXTERN const UIMenuIdentifier UIMenuOpenRecent API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos);diff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h2024-09-03 22:44:23+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h2024-10-02 01:55:55@@ -71,8 +71,8 @@ /// otherwise. @property (nonatomic, strong, nullable, readonly) UITabBarController *tabBarController;-/// The view controller owned by the tab. The view controller provider is resolved the first time this is called.-/// For root tabs, the view controller must be non-nil.+/// The view controller owned by the tab. The view controller provider is used to resolve the view controller+/// if it is currently nil. For root level tabs, the view controller for the tab must be non-nil. @property (nonatomic, strong, nullable, readonly) UIViewController *viewController; #pragma mark Managed Navigation@@ -97,9 +97,8 @@ @property (nonatomic, assign) BOOL allowsHiding; /// Creates a tab with the specified identifier, title, image, and view controller provider.-/// The view controller provider will be called once and only once, when the view controller-/// is initially required. For root level tabs on `UITabBarController`, the resolved view-/// controller must be non-nil.+/// The view controller provider is called when a view controller is requested and is currently nil.+/// For root level tabs on `UITabBarController`, the resolved view controller must be non-nil. - (instancetype)initWithTitle:(NSString *)title image:(nullable UIImage *)image identifier:(NSString *)identifier