-
Notifications
You must be signed in to change notification settings - Fork 507
UIKit tvOS xcode16.0 b3
Rolf Bjarne Kvinge edited this page Aug 20, 2024
·
4 revisions
#UIKit.framework
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundConfiguration.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundConfiguration.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundConfiguration.h 2024-06-19 05:53:01
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundConfiguration.h 2024-06-30 21:05:12
@@ -94,6 +94,10 @@
/// Outset (or inset, if negative) for the stroke, relative to the background (including any backgroundInsets). Default is 0.
/// The corner radius of the stroke is adjusted for any outset to remain concentric with the background.
@property (nonatomic) CGFloat strokeOutset;
+
+/// Describes a shadow applied by the background.
+/// Defaults to no shadow (i.e. a shadow with an opacity of 0.0).
+@property (nonatomic, readonly) UIShadowProperties *shadowProperties API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
// Deprecated
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIListContentConfiguration.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIListContentConfiguration.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIListContentConfiguration.h 2024-06-19 05:53:01
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIListContentConfiguration.h 2024-06-30 21:05:13
@@ -93,6 +93,8 @@
/// Vertical padding between the text and secondary text. Only applies when there is both text and secondary text, and they are in a stacked layout.
@property (nonatomic) CGFloat textToSecondaryTextVerticalPadding;
+/// The alpha to apply to the entire content view. Defaults to 1.0.
+@property (nonatomic) CGFloat alpha API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
// Deprecated declarations
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIListContentImageProperties.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIListContentImageProperties.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIListContentImageProperties.h 2024-06-19 05:53:46
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIListContentImageProperties.h 2024-07-03 07:26:18
@@ -61,6 +61,18 @@
/// Prevents the image from inverting its colors when the accessibility setting is enabled.
@property (nonatomic) BOOL accessibilityIgnoresInvertColors;
+/// The width of the stroke to draw around the image. Default is `0.0`.
+@property (nonatomic) CGFloat strokeWidth API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
+
+/// Configures the color of the stroke. A nil value uses the view's tint color; use `clearColor` for no color (transparent).
+@property (nonatomic, strong, nullable) UIColor *strokeColor API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
+
+/// Optional color transformer that is used to resolve the stroke color. A nil value means the `strokeColor` is used as-is.
+@property (nonatomic, copy, nullable) UIConfigurationColorTransformer strokeColorTransformer API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
+
+/// Returns the resolved stroke color for the specified tint color, based on the `strokeColor` and `strokeColorTransformer`.
+- (UIColor *)resolvedStrokeColorForTintColor:(UIColor *)tintColor API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos);
+
@end
/// A special constant that can be set to the `reservedLayoutSize` width or height. This
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIShadowProperties.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIShadowProperties.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIShadowProperties.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIShadowProperties.h 2024-06-29 06:19:08
@@ -0,0 +1,43 @@
+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UIShadowProperties.h>)
+//
+// UIShadowProperties.h
+// UIKit
+//
+// Copyright © 2024 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKitDefines.h>
+
+@class UIColor, UIBezierPath;
+
+NS_HEADER_AUDIT_BEGIN(nullability, sendability)
+
+UIKIT_EXTERN NS_SWIFT_UI_ACTOR NS_REFINED_FOR_SWIFT
+API_AVAILABLE(ios(18.0), tvos(18.0), visionos(2.0)) API_UNAVAILABLE(watchos)
+@interface UIShadowProperties : NSObject <NSCopying, NSSecureCoding>
+
+/// The color to use when rendering the shadow. Defaults to `UIColor.blackColor`.
+@property (nonatomic, strong) UIColor *color;
+
+/// The shadow's opacity. Defaults to `0.0`.
+@property (nonatomic, assign) CGFloat opacity;
+
+/// The blur radius, in points, used to render the shadow. Defaults to `0.0`.
+@property (nonatomic, assign) CGFloat radius;
+
+/// The offset, in points, of the layer's shadow. Defaults to `CGSizeZero`.
+@property (nonatomic, assign) CGSize offset;
+
+/// The path that is used to create the shadow. When `nil`, the shadow will be rendered to match
+/// the bounds of the view that it is applied to.
+/// Defaults to `nil`.
+@property (nonatomic, copy, nullable) UIBezierPath *path;
+
+@end
+
+NS_HEADER_AUDIT_END(nullability, sendability)
+
+#else
+#import <UIKitCore/UIShadowProperties.h>
+#endif
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewController.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewController.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewController.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewController.h 2024-06-30 21:14:34
@@ -0,0 +1,89 @@
+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UITextFormattingViewController.h>)
+//
+// UITextFormattingViewController.h
+// UIKit
+//
+// Copyright © 2022 Apple Inc. All rights reserved.
+//
+
+#import <UIKit/UIViewController.h>
+#import <UIKit/UITextFormattingViewControllerConfiguration.h>
+#import <UIKit/UITextFormattingViewControllerChangeValue.h>
+
+@class UIFontPickerViewController;
+@class UIColorPickerViewController;
+@class UITextFormattingViewControllerFormattingDescriptor;
+
+NS_HEADER_AUDIT_BEGIN(nullability, sendability)
+
+@class UITextFormattingViewController;
+
+#pragma mark - UITextFormattingViewControllerDelegate
+
+UIKIT_EXTERN API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst) NS_SWIFT_UI_ACTOR NS_REFINED_FOR_SWIFT
+@protocol UITextFormattingViewControllerDelegate <NSObject>
+
+/// Delegate method that will be invoked on any text formatting changes.
+///
+/// - Parameters:
+/// - viewController: Text formatting controller in which action was performed.
+/// - changeValue: Object describing the change made via view controller.
+- (void)textFormattingViewController:(UITextFormattingViewController *)viewController didChangeValue:(UITextFormattingViewControllerChangeValue *)changeValue;
+
+@optional
+
+/// If implemented, text formatting will call this method before presenting font picker controller.
+/// Use this method to make any presentation modifications or to prevent presentation altogether.
+///
+/// If you decide to prevent presentation of font picker via text formatting controller, you may present provided font picker yourself.
+/// In this case, you will have to handle any font picker actions independently.
+///
+/// - Parameters:
+/// - viewController: Text formatting controller that is attempting to present font picker controller
+/// - fontPicker: Font picker controller that will be presented.
+/// - Returns: Flag indicating if text formatting controller should present font picker.
+- (BOOL)textFormattingViewController:(UITextFormattingViewController *)viewController shouldPresentFontPicker:(UIFontPickerViewController *)fontPicker;
+
+/// If implemented, text formatting will call this method before presenting color picker controller.
+/// Use this method to make any presentation modifications or to prevent presentation altogether.
+///
+/// You may decide to prevent presentation of color picker via text formatting controller.
+/// In that case, you may present provided color picker controller yourself, but you will have to handle any actions in that controller separately.
+///
+/// - Parameters:
+/// - viewController: Text formatting controller that is attempting to present font picker controller
+/// - colorPicker: Color picker controller that will be presented.
+/// - Returns: Flag indicating if text formatting controller should present font picker.
+- (BOOL)textFormattingViewController:(UITextFormattingViewController *)viewController shouldPresentColorPicker:(UIColorPickerViewController *)colorPicker;
+
+/// Informs the delegate that user has dismissed text formatting view controller.
+- (void)textFormattingDidFinish:(UITextFormattingViewController *)viewController;
+
+@end
+
+#pragma mark - UITextFormattingViewController
+
+/// A view controller that manages the interface for common text formatting options.
+UIKIT_EXTERN API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst) NS_SWIFT_UI_ACTOR
+@interface UITextFormattingViewController : UIViewController
+
+/// Current text formatting configuration object.
+@property (nonatomic, readonly, copy) UITextFormattingViewControllerConfiguration *configuration;
+
+/// Current formatting descriptor.
+@property (nonatomic, nullable, copy) UITextFormattingViewControllerFormattingDescriptor *formattingDescriptor NS_REFINED_FOR_SWIFT;
+
+/// Text formatting delegate.
+@property (nullable, nonatomic, weak) id<UITextFormattingViewControllerDelegate> delegate NS_REFINED_FOR_SWIFT;
+
+- (instancetype)init NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE;
+- (instancetype)initWithConfiguration:(UITextFormattingViewControllerConfiguration *)configuration NS_DESIGNATED_INITIALIZER;
+
+@end
+
+NS_HEADER_AUDIT_END(nullability, sendability)
+
+#else
+#import <UIKitCore/UITextFormattingViewController.h>
+#endif
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerChangeValue.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerChangeValue.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerChangeValue.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerChangeValue.h 2024-06-30 21:05:21
@@ -0,0 +1,91 @@
+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UITextFormattingViewControllerChangeValue.h>)
+//
+// UITextFormattingViewControllerChangeValue.h
+// UIKit
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKitDefines.h>
+#import <UIKit/UITextFormattingViewControllerFormattingDescriptor.h>
+#import <UIKit/NSText.h>
+
+@class UIColor;
+@class UIFont;
+@class NSNumber;
+
+NS_HEADER_AUDIT_BEGIN(nullability, sendability)
+
+#pragma mark - UITextFormattingViewControllerChangeType
+
+/// Enumeration of text formatting actions.
+typedef NSString * UITextFormattingViewControllerChangeType NS_TYPED_ENUM NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerUndefinedChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerSetBoldChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerRemoveBoldChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerSetItalicChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerRemoveItalicChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerSetUnderlineChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerRemoveUnderlineChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerSetStrikethroughChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerRemoveStrikethroughChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerFontChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerFontSizeChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerIncreaseFontSizeChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerDecreaseFontSizeChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerTextColorChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerLineHeightPointSizeChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerIncreaseIndentationChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerDecreaseIndentationChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerFormattingStyleChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerTextListChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerTextAlignmentChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerChangeType const UITextFormattingViewControllerHighlightChangeType NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+#pragma mark - UITextFormattingViewControllerChangeValue
+
+UIKIT_EXTERN API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst) NS_REFINED_FOR_SWIFT
+/// Describes text formatting change that is a result of user action.
+/// Contains type of change, any associated value that may be applicable to that change.
+@interface UITextFormattingViewControllerChangeValue : NSObject <NSCopying, NSSecureCoding>
+
+/// Type of change.
+@property (nonatomic, readonly) UITextFormattingViewControllerChangeType changeType;
+
+/// On formatting style change, use this property to determine selected style.
+@property (nullable, nonatomic, readonly, copy) NSString *formattingStyleKey;
+
+/// Any font that may be associated with the change.
+/// For example, this property will be available in case of font typography settings change or new font selection.
+@property (nullable, nonatomic, readonly, copy) UIFont *font;
+
+/// Any color value that may be associated with the change.
+/// For example, this property will be available if user has changed text color.
+@property (nullable, nonatomic, readonly, copy) UIColor *color;
+
+/// Any number value that may be associated with the change.
+/// For example, if case of font point size change, this property will reflect new point size.
+@property (nullable, nonatomic, readonly, copy) NSNumber *numberValue;
+
+/// Text list style associated with the `UITextFormattingViewControllerTextListChangeType`.
+/// If property is nil for `UITextFormattingViewControllerTextListChangeType`, it indicates text list has been removed.
+@property (nullable, nonatomic, readonly, copy) UITextFormattingViewControllerTextList textList;
+
+/// Text alignment associated with the `UITextFormattingViewControllerTextAlignmentChangeType`.
+@property (nonatomic, readonly) NSTextAlignment textAlignment;
+
+/// Text highlight associated with the `UITextFormattingViewControllerHighlightChangeType`.
+/// If property is nil for `UITextFormattingViewControllerHighlightChangeType`, it indicates highlight has been removed.
+@property (nullable, nonatomic, readonly, copy) UITextFormattingViewControllerHighlight highlight;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_HEADER_AUDIT_END(nullability, sendability)
+
+#else
+#import <UIKitCore/UITextFormattingViewControllerChangeValue.h>
+#endif
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerComponent.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerComponent.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerComponent.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerComponent.h 2024-07-03 07:31:21
@@ -0,0 +1,92 @@
+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UITextFormattingViewControllerComponent.h>)
+//
+// UITextFormattingViewControllerComponent.h
+// UIKit
+//
+// Copyright © 2024 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKitDefines.h>
+
+NS_HEADER_AUDIT_BEGIN(nullability, sendability)
+
+#pragma mark - UITextFormattingViewControllerComponentKey
+
+/// Predefined text formatting view controller components.
+typedef NSString * UITextFormattingViewControllerComponentKey NS_TYPED_ENUM NS_SWIFT_NAME(UITextFormattingViewController.ComponentKey) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerFormattingStylesComponentKey NS_SWIFT_NAME(formattingStyles) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerFontAttributesComponentKey NS_SWIFT_NAME(fontAttributes) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerFontPickerComponentKey NS_SWIFT_NAME(fontPicker) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerFontSizeComponentKey NS_SWIFT_NAME(fontSize) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerFontPointSizeComponentKey NS_SWIFT_NAME(fontPointSize) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerTextAlignmentComponentKey NS_SWIFT_NAME(textAlignment) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerTextAlignmentAndJustificationComponentKey NS_SWIFT_NAME(textAlignmentAndJustification) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerTextIndentationComponentKey NS_SWIFT_NAME(textIndentation) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerLineHeightComponentKey NS_SWIFT_NAME(lineHeight) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerListStylesComponentKey NS_SWIFT_NAME(listStyles) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerTextColorComponentKey NS_SWIFT_NAME(textColor) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerHighlightComponentKey NS_SWIFT_NAME(highlight) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerComponentKey const UITextFormattingViewControllerHighlightPickerComponentKey NS_SWIFT_NAME(highlightPicker) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+#pragma mark - _UITextFormattingViewControllerComponentSize
+
+/// Sizes of text formatting view controller components.
+typedef NS_ENUM(NSInteger, UITextFormattingViewControllerComponentSize) {
+ UITextFormattingViewControllerComponentSizeAutomatic = 0,
+ UITextFormattingViewControllerComponentSizeMini = 1,
+ UITextFormattingViewControllerComponentSizeSmall = 2,
+ UITextFormattingViewControllerComponentSizeRegular = 3,
+ UITextFormattingViewControllerComponentSizeLarge = 4,
+ UITextFormattingViewControllerComponentSizeExtraLarge = 5,
+} NS_SWIFT_NAME(UITextFormattingViewController.ComponentSize) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+#pragma mark - UITextFormattingViewControllerComponent
+
+UIKIT_EXTERN API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst) NS_SWIFT_NAME(UITextFormattingViewController.Component)
+/// Defines text formatting view component.
+@interface UITextFormattingViewControllerComponent : NSObject <NSCopying, NSSecureCoding>
+
+/// Unique key that identifies text formatting view component.
+@property (nonatomic, readonly) UITextFormattingViewControllerComponentKey componentKey;
+
+/// Specifies preferred size of the component in text formatting view.
+@property (nonatomic, readonly) UITextFormattingViewControllerComponentSize preferredSize;
+
+/// Creates a text formatting view component configuration with component key and preferred size.
+///
+/// - Parameters:
+/// - componentKey: Component key.
+/// - preferredSize: Preferred size of component in text formatting view.
+- (instancetype)initWithComponentKey:(UITextFormattingViewControllerComponentKey)componentKey
+ preferredSize:(UITextFormattingViewControllerComponentSize)preferredSize NS_DESIGNATED_INITIALIZER;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+#pragma mark - UITextFormattingViewControllerComponentGroup
+
+UIKIT_EXTERN API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst) NS_SWIFT_NAME(UITextFormattingViewController.ComponentGroup)
+/// Defines grouping of text formatting components in view.
+@interface UITextFormattingViewControllerComponentGroup : NSObject <NSCopying, NSSecureCoding>
+
+/// Components in group.
+@property (nonatomic, readonly, copy) NSArray<UITextFormattingViewControllerComponent *> *components;
+
+/// Creates a group of components.
+/// - Parameter components: Components to be included in the group.
+- (instancetype)initWithComponents:(NSArray<UITextFormattingViewControllerComponent *> *)components NS_DESIGNATED_INITIALIZER;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_HEADER_AUDIT_END(nullability, sendability)
+
+#else
+#import <UIKitCore/UITextFormattingViewControllerComponent.h>
+#endif
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerConfiguration.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerConfiguration.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerConfiguration.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerConfiguration.h 2024-06-29 06:19:09
@@ -0,0 +1,48 @@
+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UITextFormattingViewControllerConfiguration.h>)
+//
+// UITextFormattingViewControllerConfiguration.h
+// UIKit
+//
+// Copyright © 2022 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKitDefines.h>
+
+@class UIColor;
+@class UIFont;
+@class UITextFormattingViewControllerFormattingStyle;
+@class UITextFormattingViewControllerComponentGroup;
+@class UIFontPickerViewControllerConfiguration;
+
+NS_HEADER_AUDIT_BEGIN(nullability, sendability)
+
+#pragma mark - UITextFormattingViewControllerConfiguration
+
+UIKIT_EXTERN API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst) NS_SWIFT_NAME(UITextFormattingViewController.Configuration)
+/// Text formatting view controller configuration object.
+@interface UITextFormattingViewControllerConfiguration : NSObject <NSCopying, NSSecureCoding>
+
+/// Component groups displayed by text formatting view.
+@property (nonatomic, readonly, copy) NSArray<UITextFormattingViewControllerComponentGroup *> *groups;
+
+/// Configurations of formatting styles available in text formatting view.
+@property (nonatomic, nullable, copy) NSArray<UITextFormattingViewControllerFormattingStyle *> *formattingStyles NS_REFINED_FOR_SWIFT;
+
+/// Configuration object that will be used to customize `UIFontPickerViewController` if presented by `UITextFormattingViewController`.
+@property (nonatomic, nullable, copy) UIFontPickerViewControllerConfiguration *fontPickerConfiguration;
+
+/// Creates a default configuration with most common text formatting options.
+- (instancetype)init NS_DESIGNATED_INITIALIZER;
+
+/// Creates a configuration object with provided component groups.
+/// - Parameter groups: Component groups displayed in text formatting view.
+- (instancetype)initWithGroups:(NSArray<UITextFormattingViewControllerComponentGroup *> *)groups;
+
+@end
+
+NS_HEADER_AUDIT_END(nullability, sendability)
+
+#else
+#import <UIKitCore/UITextFormattingViewControllerConfiguration.h>
+#endif
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerFormattingDescriptor.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerFormattingDescriptor.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerFormattingDescriptor.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerFormattingDescriptor.h 2024-06-30 21:05:20
@@ -0,0 +1,94 @@
+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UITextFormattingViewControllerFormattingDescriptor.h>)
+//
+// UITextFormattingViewControllerFormattingDescriptor.h
+// UIKit
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKitDefines.h>
+
+@class UIFont;
+@class UIColor;
+
+NS_HEADER_AUDIT_BEGIN(nullability, sendability)
+
+#pragma mark - UITextFormattingViewControllerTextAlignment
+
+/// Text formatting horizontal alignment state.
+typedef NSString * UITextFormattingViewControllerTextAlignment NS_TYPED_ENUM NS_SWIFT_NAME(UITextFormattingViewController.TextAlignment) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+UIKIT_EXTERN UITextFormattingViewControllerTextAlignment const UITextFormattingViewControllerTextAlignmentLeft NS_SWIFT_NAME(left) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerTextAlignment const UITextFormattingViewControllerTextAlignmentCenter NS_SWIFT_NAME(center) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerTextAlignment const UITextFormattingViewControllerTextAlignmentRight NS_SWIFT_NAME(right) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerTextAlignment const UITextFormattingViewControllerTextAlignmentJustified NS_SWIFT_NAME(justified) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerTextAlignment const UITextFormattingViewControllerTextAlignmentNatural NS_SWIFT_NAME(natural) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+#pragma mark - UITextFormattingViewControllerTextList
+
+/// Text formatting text list state.
+typedef NSString * UITextFormattingViewControllerTextList NS_TYPED_ENUM NS_SWIFT_NAME(UITextFormattingViewController.TextList) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+UIKIT_EXTERN UITextFormattingViewControllerTextList const UITextFormattingViewControllerTextListDisc NS_SWIFT_NAME(disc) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerTextList const UITextFormattingViewControllerTextListHyphen NS_SWIFT_NAME(hyphen) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerTextList const UITextFormattingViewControllerTextListDecimal NS_SWIFT_NAME(decimal) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerTextList const UITextFormattingViewControllerTextListOther NS_SWIFT_NAME(other) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+#pragma mark - UITextFormattingViewControllerHighlight
+
+/// Text formatting highlight state.
+typedef NSString * UITextFormattingViewControllerHighlight NS_TYPED_ENUM NS_SWIFT_NAME(UITextFormattingViewController.Highlight) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+UIKIT_EXTERN UITextFormattingViewControllerHighlight const UITextFormattingViewControllerHighlightDefault NS_SWIFT_NAME(default) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerHighlight const UITextFormattingViewControllerHighlightPurple NS_SWIFT_NAME(purple) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerHighlight const UITextFormattingViewControllerHighlightPink NS_SWIFT_NAME(pink) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerHighlight const UITextFormattingViewControllerHighlightOrange NS_SWIFT_NAME(orange) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerHighlight const UITextFormattingViewControllerHighlightMint NS_SWIFT_NAME(mint) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+UIKIT_EXTERN UITextFormattingViewControllerHighlight const UITextFormattingViewControllerHighlightBlue NS_SWIFT_NAME(blue) API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+#pragma mark - UITextFormattingViewControllerFormattingDescriptor
+
+UIKIT_EXTERN API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst) NS_REFINED_FOR_SWIFT
+/// Object that represents current text formatting state.
+/// This can apply to formatting state of some selected range of text or currently applicable input formatting.
+@interface UITextFormattingViewControllerFormattingDescriptor : NSObject <NSCopying, NSSecureCoding>
+
+/// Initializes formatting descriptor with default property values.
+- (instancetype)init NS_DESIGNATED_INITIALIZER;
+
+/// Initializes formatting descriptor with a string and selected range of string.
+/// - Parameters:
+/// - string: Attributed string for which we are creating formatting descriptor.
+/// - range: Range of string that is being represented by descriptor
+- (instancetype)initWithString:(NSAttributedString *)string range:(NSRange)range;
+
+/// Initializes formatting descriptor with attribute dictionary.
+/// - Parameter attributes: Attribute dictionary that is being represented by descriptor.
+- (instancetype)initWithAttributes:(NSDictionary<NSAttributedStringKey, id> *)attributes;
+
+@property (nonatomic, nullable, copy) NSArray<UIFont *> *fonts;
+
+@property (nonatomic, nullable, copy) NSArray<UIColor *> *textColors;
+
+@property (nonatomic) CGFloat lineHeight;
+
+@property (nonatomic) BOOL underlinePresent;
+
+@property (nonatomic) BOOL strikethroughPresent;
+
+@property (nonatomic, copy) NSSet<UITextFormattingViewControllerTextAlignment> *textAlignments;
+
+@property (nonatomic, copy) NSSet<UITextFormattingViewControllerTextList> *textLists;
+
+@property (nonatomic, copy) NSSet<UITextFormattingViewControllerHighlight> *highlights;
+
+@property (nonatomic, nullable, copy) NSString *formattingStyleKey;
+
+@end
+
+NS_HEADER_AUDIT_END(nullability, sendability)
+
+#else
+#import <UIKitCore/UITextFormattingViewControllerFormattingDescriptor.h>
+#endif
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerFormattingStyle.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerFormattingStyle.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerFormattingStyle.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerFormattingStyle.h 2024-06-29 06:19:04
@@ -0,0 +1,39 @@
+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UITextFormattingViewControllerFormattingStyle.h>)
+//
+// UITextFormattingViewControllerFormattingStyle.h
+// UIKit
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKitDefines.h>
+
+NS_HEADER_AUDIT_BEGIN(nullability, sendability)
+
+#pragma mark - UITextFormattingViewControllerFormattingStyle
+
+UIKIT_EXTERN API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst) NS_REFINED_FOR_SWIFT
+/// Type that defines formatting style presented in text formatting view.
+@interface UITextFormattingViewControllerFormattingStyle : NSObject <NSCopying, NSSecureCoding>
+
+/// Formatting style key.
+@property (nonatomic, nonnull, readonly, copy) NSString *styleKey;
+
+/// Style title displayed in UI.
+@property (nonatomic, nonnull, readonly, copy) NSString *title;
+
+/// Attributes corresponding to this formatting style.
+///
+/// Alongside `title`, these may be used to create a preview for this formatting style.
+@property (nonatomic, nonnull, readonly, copy) NSDictionary<NSAttributedStringKey, id> *attributes;
+
+- (instancetype)initWithStyleKey:(NSString *)styleKey title:(NSString *)string attributes:(NSDictionary<NSAttributedStringKey, id> *)attributes;
+
+@end
+
+NS_HEADER_AUDIT_END(nullability, sendability)
+
+#else
+#import <UIKitCore/UITextFormattingViewControllerFormattingStyle.h>
+#endif
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h 2024-06-19 09:30:43
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h 2024-06-30 21:14:33
@@ -40,6 +40,7 @@
@class UIBarButtonItemGroup;
@class UIBarButtonItem;
@class NSAdaptiveImageGlyph;
+@class NSAttributedString;
@protocol UITextInputTokenizer;
@protocol UITextInputDelegate;
@@ -258,6 +259,8 @@
@property (nonatomic, readonly, getter=isEditable) BOOL editable API_AVAILABLE(ios(18.0), macos(15.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
+- (void)insertAttributedText:(NSAttributedString *)string API_AVAILABLE(ios(12.0), tvos(12.0), watchos(5.0), macos(10.14), visionos(1.0)) API_UNAVAILABLE(watchos);
+- (void)replaceRange:(UITextRange *)range withAttributedText:(NSAttributedString *)attributedText API_AVAILABLE(ios(13.0), tvos(13.0), macos(10.15), visionos(1.0)) API_UNAVAILABLE(watchos);
@end
//---------------------------------------------------------------------------------------------------
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h 2024-07-03 16:55:43
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h 2024-07-03 07:26:22
@@ -24,7 +24,7 @@
NS_HEADER_AUDIT_BEGIN(nullability, sendability)
-@class UIFindInteraction, UIFont, UIColor, UIMenu, UIMenuElement, UITextView, NSTextContainer, NSTextLayoutManager, NSLayoutManager, NSTextStorage, NSTextAttachment, UITextItem, UITextItemMenuConfiguration, NSTextRange;
+@class UIFindInteraction, UIFont, UIColor, UIMenu, UIMenuElement, UITextView, NSTextContainer, NSTextLayoutManager, NSLayoutManager, NSTextStorage, NSTextAttachment, UITextItem, UITextItemMenuConfiguration, NSTextRange, UITextFormattingViewController, UITextFormattingViewControllerConfiguration;
@protocol UIEditMenuInteractionAnimating, UIContextMenuInteractionAnimating;
API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
@@ -142,6 +142,34 @@
- (BOOL)textView:(UITextView *)textView shouldInteractWithURL:(NSURL *)URL inRange:(NSRange)characterRange API_DEPRECATED_WITH_REPLACEMENT("textView:shouldInteractWithURL:inRange:interaction:", ios(7.0, 10.0)) API_UNAVAILABLE(visionos, watchos);
- (BOOL)textView:(UITextView *)textView shouldInteractWithTextAttachment:(NSTextAttachment *)textAttachment inRange:(NSRange)characterRange API_DEPRECATED_WITH_REPLACEMENT("textView:shouldInteractWithTextAttachment:inRange:interaction:", ios(7.0, 10.0)) API_UNAVAILABLE(visionos, watchos);
+/**
+ * @abstract Informs the delegate that text formatting controller is about to be presented.
+ *
+ * @param viewController The text formatting controller that is being presented.
+ */
+- (void)textView:(UITextView *)textView willBeginFormattingWithViewController:(UITextFormattingViewController *)viewController API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+/**
+ * @abstract Informs the delegate that text formatting controller has been presented.
+ *
+ * @param viewController The text formatting controller that is being presented.
+ */
+- (void)textView:(UITextView *)textView didBeginFormattingWithViewController:(UITextFormattingViewController *)viewController API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+/**
+ * @abstract Informs the delegate that text formatting controller is about to be dismissed.
+ *
+ * @param viewController The text formatting controller that is being presented.
+ */
+- (void)textView:(UITextView *)textView willEndFormattingWithViewController:(UITextFormattingViewController *)viewController API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
+/**
+ * @abstract Informs the delegate that text formatting controller has been dismissed.
+ *
+ * @param viewController The text formatting controller that is being presented.
+ */
+- (void)textView:(UITextView *)textView didEndFormattingWithViewController:(UITextFormattingViewController *)viewController API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
@end
/// The type of border around the text view.
@@ -241,6 +269,14 @@
// Also see UITextInputTraits.h
@property UIWritingToolsBehavior writingToolsBehavior API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(tvos, watchos, visionos);
@property UIWritingToolsAllowedInputOptions writingToolsAllowedInputOptions API_AVAILABLE(ios(18.0), macos(15.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos);
+
+/// For text views that have flag `allowsEditingTextAttributes` set,
+/// this configuration will be used for `UITextFormattingViewController`
+/// when its presentation is requested.
+///
+/// It has a non-nil default value.
+@property(nonatomic, nullable, readwrite, copy) UITextFormattingViewControllerConfiguration *textFormattingConfiguration API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos, macCatalyst);
+
@end
#if TARGET_OS_IOS
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status