Skip to content

UIKit iOS xcode16.1 b3

Alex Soto edited this page Oct 7, 2024 · 1 revision

#UIKit.framework

diff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h
--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h	2024-09-04 00:46:15
+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h	2024-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;
 
 @end
 
diff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h
--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h	2024-09-03 02:04:59
+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h	2024-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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h
--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h	2024-09-03 02:10:14
+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h	2024-10-02 01:22:03
@@ -35,6 +35,15 @@
 
     UIPressTypePageUp API_AVAILABLE(tvos(14.3)) API_UNAVAILABLE(ios, watchos) = 30,
     UIPressTypePageDown API_AVAILABLE(tvos(14.3)) API_UNAVAILABLE(ios, watchos) = 31,
+
+    /// Represents a button on a TV remote labeled with 123. When this button is pressed, an app should provide UI to enter a specific channel number if channel
+    /// numbers are available. If no channel numbers exist the app should provide UI to toggle channel category filters, search for channels by name or search for
+    /// currently airing shows.
+    UIPressTypeTVRemoteOneTwoThree API_AVAILABLE(tvos(18.1)) API_UNAVAILABLE(ios, watchos, visionos) = 32,
+
+    /// Represents a button on a TV remote labeled with four colors, analogous to the four separate color buttons found on some TV remotes. When this button is
+    /// pressed, an app should perform the appropriate color action or if there are multiple color actions available provide UI to choose the specific color.
+    UIPressTypeTVRemoteFourColors API_AVAILABLE(tvos(18.1)) API_UNAVAILABLE(ios, watchos, visionos) = 33,
 } API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
 
 UIKIT_EXTERN API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) @interface UIPress : NSObject
diff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h
--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h	2024-09-03 22:44:23
+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITab.h	2024-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
diff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h
--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h	2024-09-06 01:12:48
+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h	2024-10-02 01:21:57
@@ -186,7 +186,7 @@
     
     /// The limited, overlay-panel experience will be provided if possible.
     UIWritingToolsBehaviorLimited, 
-} API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(tvos, watchos, visionos);
+} API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(visionos, tvos, watchos);
 
 //
 // UIWritingToolsResultOptions
@@ -208,7 +208,7 @@
     
     /// implies `RichText`,  and Writing Tools may provide attributes for tabular layout
     UIWritingToolsResultTable = 1 << 3,
-} API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos);
+} API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(visionos, tvos, watchos);
 
 typedef NSString * UITextContentType NS_TYPED_ENUM API_UNAVAILABLE(watchos);
 
@@ -262,8 +262,8 @@
 // on the Password Rules documentation guide.
 @property(nullable,nonatomic,copy) UITextInputPasswordRules *passwordRules API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos); // default is nil
 
-@property UIWritingToolsBehavior writingToolsBehavior API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(tvos, watchos, visionos);
-@property UIWritingToolsResultOptions allowedWritingToolsResultOptions API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos);
+@property UIWritingToolsBehavior writingToolsBehavior API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(visionos, tvos, watchos);
+@property UIWritingToolsResultOptions allowedWritingToolsResultOptions API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(visionos, tvos, watchos);
 
 @end
 
diff -ruN /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h
--- /Applications/Xcode_16.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h	2024-09-03 02:10:15
+++ /Applications/Xcode_16.1.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h	2024-10-02 01:56:02
@@ -267,10 +267,10 @@
 @property(nonatomic,readonly,getter=isWritingToolsActive) BOOL writingToolsActive API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(tvos, watchos, visionos);
 
 // Also see UITextInputTraits.h
-@property UIWritingToolsBehavior writingToolsBehavior API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(tvos, watchos, visionos);
+@property UIWritingToolsBehavior writingToolsBehavior API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(visionos, tvos, watchos);
 
 // WARNING: UITextView does not support UIWritingToolsResultOptionsTable and will throw an exception for this value
-@property UIWritingToolsResultOptions allowedWritingToolsResultOptions API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos);
+@property UIWritingToolsResultOptions allowedWritingToolsResultOptions API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(visionos, tvos, watchos);
 
 /// For text views that have flag `allowsEditingTextAttributes` set,
 /// this configuration will be used for `UITextFormattingViewController`
Clone this wiki locally