-
Notifications
You must be signed in to change notification settings - Fork 507
UIKit iOS xcode15.0 b3
Manuel de la Pena edited this page Oct 20, 2023
·
3 revisions
#UIKit.framework https://github.com/xamarin/xamarin-macios/pull/19120
diff -ruN /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffect.h /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffect.h
--- /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffect.h 2023-06-15 01:02:04
+++ /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffect.h 2023-06-30 01:40:46
@@ -23,12 +23,24 @@
UIKIT_EXTERN API_AVAILABLE(ios(17.0), xros(1.0)) API_UNAVAILABLE(watchos, tvos)
NS_REFINED_FOR_SWIFT NS_SWIFT_UI_ACTOR
@interface UIHoverHighlightEffect : NSObject <UIHoverEffect>
+
++ (instancetype)effect;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
@end
/// An effect that can visually lift the view on hover where appropriate.
UIKIT_EXTERN API_AVAILABLE(ios(17.0), xros(1.0)) API_UNAVAILABLE(watchos, tvos)
NS_REFINED_FOR_SWIFT NS_SWIFT_UI_ACTOR
@interface UIHoverLiftEffect : NSObject <UIHoverEffect>
+
++ (instancetype)effect;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
@end
/// A system-default hover effect that automatically selects the appropriate
@@ -36,6 +48,12 @@
UIKIT_EXTERN API_AVAILABLE(ios(17.0), xros(1.0)) API_UNAVAILABLE(watchos, tvos)
NS_REFINED_FOR_SWIFT NS_SWIFT_UI_ACTOR
@interface UIHoverAutomaticEffect : NSObject <UIHoverEffect>
+
++ (instancetype)effect;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
@end
NS_HEADER_AUDIT_END(nullability, sendability)
diff -ruN /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverStyle.h /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverStyle.h
--- /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverStyle.h 2023-06-15 01:02:10
+++ /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverStyle.h 2023-06-30 01:40:53
@@ -17,7 +17,7 @@
/// The hover style to apply to a view, including an effect and a shape to use
/// for displaying that effect.
-UIKIT_EXTERN API_AVAILABLE(ios(13.0), xros(1.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
+UIKIT_EXTERN API_AVAILABLE(ios(17.0), xros(1.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
@interface UIHoverStyle : NSObject <NSCopying>
/// The effect to apply to the view with this style. Use `UIHoverAutomaticEffect`
@@ -32,7 +32,10 @@
+ (instancetype)styleWithEffect:(id<UIHoverEffect>)effect shape:(nullable UIShape *)shape NS_REFINED_FOR_SWIFT;
/// Creates a hover style with the provided shape and a `UIHoverAutomaticEffect`.
-+ (instancetype)styleWithShape:(nullable UIShape *)shape;
++ (instancetype)styleWithShape:(nullable UIShape *)shape NS_REFINED_FOR_SWIFT;
+
+/// Creates a hover style with the default shape and a `UIHoverAutomaticEffect`.
++ (instancetype)automaticStyle NS_REFINED_FOR_SWIFT;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes
--- /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes 2023-06-15 00:03:40
+++ /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes 2023-06-28 06:00:45
@@ -2769,6 +2769,8 @@
SwiftName: accessibilitySpeechPitch
- Name: UIAccessibilitySpeechAttributeQueueAnnouncement
SwiftName: accessibilitySpeechQueueAnnouncement
+- Name: UIAccessibilitySpeechAttributeAnnouncementPriority
+ SwiftName: accessibilitySpeechAnnouncementPriority
- Name: UIAccessibilitySpeechAttributeIPANotation
SwiftName: accessibilitySpeechIPANotation
- Name: UIAccessibilitySpeechAttributeSpellOut
diff -ruN /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h
--- /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h 2023-06-15 01:00:31
+++ /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h 2023-06-27 23:54:23
@@ -213,8 +213,10 @@
/// Format top-level menu
UIKIT_EXTERN const UIMenuIdentifier UIMenuFormat API_AVAILABLE(ios(13.0));
-/// Text insertion sub-menu group, containing Scan Text, Emoji, and Form-Filling items.
-UIKIT_EXTERN const UIMenuIdentifier UIMenuInsert API_AVAILABLE(ios(17.0));
+/// AutoFill menu
+UIKIT_EXTERN const UIMenuIdentifier UIMenuAutoFill API_AVAILABLE(ios(17.0));
+
+UIKIT_EXTERN const UIMenuIdentifier UIMenuInsert API_DEPRECATED_WITH_REPLACEMENT("UIMenuAutoFill", ios(17.0, 17.0));
/// Font menu contained within Format menu (contains UIMenuTextStyle)
UIKIT_EXTERN const UIMenuIdentifier UIMenuFont API_AVAILABLE(ios(13.0));
diff -ruN /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIShape.h /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIShape.h
--- /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIShape.h 2023-05-31 01:10:34
+++ /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIShape.h 2023-06-28 05:52:22
@@ -13,7 +13,7 @@
NS_HEADER_AUDIT_BEGIN(nullability, sendability)
/// The corner curve to apply to a view.
-API_AVAILABLE(ios(17.0), xros(1.0))
+API_AVAILABLE(ios(17.0), xros(1.0)) API_UNAVAILABLE(tvos, watchos)
typedef NS_ENUM(NSInteger, UICornerCurve) {
/// Select the corner style automatically.
UICornerCurveAutomatic,
@@ -35,7 +35,7 @@
///
/// You typically use a `UIShape` with APIs like `UIHoverStyle` to represent the
/// shape of an effect.
-UIKIT_EXTERN API_AVAILABLE(ios(17.0), xros(1.0)) API_UNAVAILABLE(watchos, tvos)
+UIKIT_EXTERN API_AVAILABLE(ios(17.0), xros(1.0)) API_UNAVAILABLE(tvos, watchos)
NS_REFINED_FOR_SWIFT
@interface UIShape : NSObject <NSCopying>
@@ -52,15 +52,15 @@
/// A rectangular shape with rounded corners, aligned inside the frame of
/// in which it is contained.
-+ (instancetype)roundedRectShapeWithCornerRadius:(CGFloat)cornerRadius;
++ (instancetype)rectShapeWithCornerRadius:(CGFloat)cornerRadius;
/// A rectangular shape with rounded corners, aligned inside the frame of
/// in which it is contained.
-+ (instancetype)roundedRectShapeWithCornerRadius:(CGFloat)cornerRadius cornerCurve:(UICornerCurve)cornerCurve;
++ (instancetype)rectShapeWithCornerRadius:(CGFloat)cornerRadius cornerCurve:(UICornerCurve)cornerCurve;
/// A rectangular shape with rounded corners, aligned inside the frame of
/// in which it is contained.
-+ (instancetype)roundedRectShapeWithCornerRadius:(CGFloat)cornerRadius cornerCurve:(UICornerCurve)cornerCurve maskedCorners:(UIRectCorner)maskedCorners;
++ (instancetype)rectShapeWithCornerRadius:(CGFloat)cornerRadius cornerCurve:(UICornerCurve)cornerCurve maskedCorners:(UIRectCorner)maskedCorners;
/// A fixed rectangle shape using `rect` as its shape, regardless of the
/// frame in which it is contained.
@@ -69,10 +69,6 @@
/// A shape with a custom bezier path.
+ (instancetype)shapeWithBezierPath:(UIBezierPath *)path;
-/// Creates a dynamic shape that can be resolved using the provided
-/// `resolver` closure based on context like its containing rect.
-+ (instancetype)dynamicShapeWithProvider:(UIResolvedShape *(^)(UIShapeResolutionContext *context))provider;
-
/// Insets this shape by the provided `insets`, returning a new modified
/// shape.
///
@@ -102,9 +98,9 @@
@end
/// A shape that has been resolved based on a `ResolutionContext`.
-UIKIT_EXTERN API_AVAILABLE(ios(17.0), xros(1.0)) API_UNAVAILABLE(watchos, tvos)
+UIKIT_EXTERN API_AVAILABLE(ios(17.0), xros(1.0)) API_UNAVAILABLE(tvos, watchos)
NS_REFINED_FOR_SWIFT
-@interface UIResolvedShape : NSObject
+@interface UIResolvedShape : NSObject <NSCopying>
/// The abstract shape that produced this resolved shape.
@property (nonatomic, readonly) UIShape *shape;
@@ -115,13 +111,33 @@
/// The bezier path representing this shape.
@property (nonatomic, readonly) UIBezierPath *path;
+/// Insets this shape by the provided `insets`, returning a new modified
+/// shape.
+///
+/// Negative values can be used to add inner padding to a shape. If this
+/// shape is not insettable (e.g., if it is a custom path), this has no
+/// effect. For some shapes like rounded rectangles, this can also modify
+/// the corner radii of the shape to ensure the resulting corners are
+/// concentric.
+- (UIResolvedShape *)shapeByApplyingInsets:(UIEdgeInsets)insets;
+
+/// Insets this shape by the provided `inset`, returning a new modified
+/// shape.
+///
+/// Negative values can be used to add inner padding to a shape. If this
+/// shape is not insettable (e.g., if it is a custom path), this has no
+/// effect. For some shapes like rounded rectangles, this can also modify
+/// the corner radii of the shape to ensure the resulting corners are
+/// concentric.
+- (UIResolvedShape *)shapeByApplyingInset:(CGFloat)inset;
+
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/// The context used for resolving a `dynamic` `UIShape`.
-UIKIT_EXTERN API_AVAILABLE(ios(17.0), xros(1.0)) API_UNAVAILABLE(watchos, tvos)
+UIKIT_EXTERN API_AVAILABLE(ios(17.0), xros(1.0)) API_UNAVAILABLE(tvos, watchos)
NS_REFINED_FOR_SWIFT
@interface UIShapeResolutionContext : NSObject
diff -ruN /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h
--- /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h 2023-06-15 01:02:12
+++ /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h 2023-06-30 01:40:54
@@ -19,7 +19,7 @@
UITextInteractionModeNonEditable,
};
-NS_SWIFT_UI_ACTOR
+UIKIT_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
@protocol UITextInteractionDelegate <NSObject>
@optional
- (BOOL)interactionShouldBegin:(UITextInteraction *)interaction atPoint:(CGPoint)point;
- 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