Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

UIKit MacCatalyst xcode26.0 b4

Alex Soto edited this pageJul 24, 2025 ·3 revisions

#UIKit.frameworkhttps://github.com/dotnet/macios/pull/23389

diff -ruN /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIButtonConfiguration.h /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIButtonConfiguration.h--- /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIButtonConfiguration.h2025-07-02 00:04:47+++ /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIButtonConfiguration.h2025-07-16 00:44:23@@ -86,7 +86,10 @@ + (instancetype)borderedProminentButtonConfiguration;  + (instancetype)glassButtonConfiguration API_AVAILABLE(ios(26.0), tvos(26.0)) API_UNAVAILABLE(watchos);-+ (instancetype)tintedGlassButtonConfiguration API_AVAILABLE(ios(26.0), tvos(26.0)) API_UNAVAILABLE(watchos);++ (instancetype)prominentGlassButtonConfiguration API_AVAILABLE(ios(26.0), tvos(26.0)) API_UNAVAILABLE(watchos);++ (instancetype)tintedGlassButtonConfiguration API_UNAVAILABLE(ios, tvos, watchos);++ (instancetype)clearGlassButtonConfiguration API_AVAILABLE(ios(26.0), tvos(26.0)) API_UNAVAILABLE(watchos);++ (instancetype)prominentClearGlassButtonConfiguration API_AVAILABLE(ios(26.0), tvos(26.0)) API_UNAVAILABLE(watchos);  + (instancetype)new NS_UNAVAILABLE; - (instancetype)init NS_UNAVAILABLE;diff -ruN /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UICornerConfiguration.h /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UICornerConfiguration.h--- /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UICornerConfiguration.h1969-12-31 19:00:00+++ /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UICornerConfiguration.h2025-07-16 00:46:37@@ -0,0 +1,77 @@+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UICornerConfiguration.h>)+//+//  UICornerConfiguration.h+//  UIKit+//+//  Copyright © 2025 Apple Inc. All rights reserved.+//++#import <UIKit/UIKitDefines.h>+#import <UIKit/UICornerRadius.h>++NS_HEADER_AUDIT_BEGIN(nullability, sendability)++/// Defines how corner radii are mapped to the corners of a rectangle.+UIKIT_EXTERN UIKIT_FINAL NS_REFINED_FOR_SWIFT+API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos)+@interface UICornerConfiguration : NSObject <NSCopying>++/// A configuration that applies the given radius independently to all corners.+///+/// When used with a container concentric radius, this allows each individual+/// corner to resolve to different radii.++ (instancetype)configurationWithRadius:(UICornerRadius *)radius NS_SWIFT_NAME(corners(radius:));++/// A configuration with independent radii for each corner.++ (instancetype)configurationWithTopLeftRadius:(nullable UICornerRadius *)topLeftRadius+                                topRightRadius:(nullable UICornerRadius *)topRightRadius+                              bottomLeftRadius:(nullable UICornerRadius *)bottomLeftRadius+                             bottomRightRadius:(nullable UICornerRadius *)bottomRightRadius NS_SWIFT_NAME(corners(topLeftRadius:topRightRadius:bottomLeftRadius:bottomRightRadius:));++/// A configuration that rounds the corners into a capsule shape, scaling with the view's size.++ (instancetype)capsuleConfiguration NS_SWIFT_NAME(capsule());++/// A configuration that rounds the corners into a capsule shape, scaling with the view's size and clamped to the `maximumRadius`.++ (instancetype)capsuleConfigurationWithMaximumRadius:(CGFloat)maximumRadius NS_SWIFT_NAME(capsule(maximumRadius:));++/// A configuration that applies the given radius uniformly to all corners.++ (instancetype)configurationWithUniformRadius:(UICornerRadius *)radius NS_SWIFT_NAME(uniformCorners(radius:));++/// A configuration that applies the `topRadius` uniformly to the top-left and top-right corners, and the `bottomRadius` uniformly to the bottom-left and bottom-right corners.++ (instancetype)configurationWithUniformTopRadius:(UICornerRadius *)topRadius+                              uniformBottomRadius:(UICornerRadius *)bottomRadius NS_SWIFT_NAME(uniformEdges(topRadius:bottomRadius:));++/// A configuration that applies the `leftRadius` uniformly to the top-left and bottom-left corners, and the `rightRadius` uniformly to the top-right and bottom-right corners.++ (instancetype)configurationWithUniformLeftRadius:(UICornerRadius *)leftRadius+                                uniformRightRadius:(UICornerRadius *)rightRadius NS_SWIFT_NAME(uniformEdges(leftRadius:rightRadius:));++/// A configuration that applies the `topRadius` uniformly to the top-left and top-right corners, with optional independent radii for the bottom-left and bottom-right corners.++ (instancetype)configurationWithUniformTopRadius:(UICornerRadius *)topRadius+                                 bottomLeftRadius:(nullable UICornerRadius *)bottomLeftRadius+                                bottomRightRadius:(nullable UICornerRadius *)bottomRightRadius NS_SWIFT_NAME(uniformTopRadius(_:bottomLeftRadius:bottomRightRadius:));++/// A configuration that applies the `bottomRadius` uniformly to the bottom-left and bottom-right corners, with optional independent radii for the top-left and top-right corners.++ (instancetype)configurationWithUniformBottomRadius:(UICornerRadius *)bottomRadius+                                       topLeftRadius:(nullable UICornerRadius *)topLeftRadius+                                      topRightRadius:(nullable UICornerRadius *)topRightRadius NS_SWIFT_NAME(uniformBottomRadius(_:topLeftRadius:topRightRadius:));++/// A configuration that applies the `leftRadius` uniformly to the top-left and bottom-left corners, with optional independent radii for the top-right and bottom-right corners.++ (instancetype)configurationWithUniformLeftRadius:(UICornerRadius *)leftRadius+                                    topRightRadius:(nullable UICornerRadius *)topRightRadius+                                 bottomRightRadius:(nullable UICornerRadius *)bottomRightRadius NS_SWIFT_NAME(uniformLeftRadius(_:topRightRadius:bottomRightRadius:));++/// A configuration that applies the `rightRadius` uniformly to the top-right and bottom-right corners, with optional independent radii for the top-left and bottom-left corners.++ (instancetype)configurationWithUniformRightRadius:(UICornerRadius *)rightRadius+                                      topLeftRadius:(nullable UICornerRadius *)topLeftRadius+                                   bottomLeftRadius:(nullable UICornerRadius *)bottomLeftRadius NS_SWIFT_NAME(uniformRightRadius(_:topLeftRadius:bottomLeftRadius:));++- (instancetype)init NS_UNAVAILABLE;++ (instancetype)new NS_UNAVAILABLE;++@end++NS_HEADER_AUDIT_END(nullability, sendability)++#else+#import <UIKitCore/UICornerConfiguration.h>+#endifdiff -ruN /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UICornerRadius.h /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UICornerRadius.h--- /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UICornerRadius.h1969-12-31 19:00:00+++ /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UICornerRadius.h2025-07-16 01:35:25@@ -0,0 +1,36 @@+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UICornerRadius.h>)+//+//  UICornerRadius.h+//  UIKit+//+//  Copyright © 2025 Apple Inc. All rights reserved.+//++#import <UIKit/UIKitDefines.h>++NS_HEADER_AUDIT_BEGIN(nullability, sendability)++/// Represents a radius used to round a corner.+UIKIT_EXTERN UIKIT_FINAL NS_REFINED_FOR_SWIFT+API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos)+@interface UICornerRadius : NSObject <NSCopying>++/// A fixed corner radius in points.++ (instancetype)fixedRadius:(CGFloat)radius;++/// A dynamic corner radius calculated using the geometry of the view and its container.++ (instancetype)containerConcentricRadius;++/// A dynamic corner radius calculated using the geometry of the view and its container limited to a minimum radius.++ (instancetype)containerConcentricRadiusWithMinimum:(CGFloat)minimum;++- (instancetype)init NS_UNAVAILABLE;++ (instancetype)new NS_UNAVAILABLE;++@end++NS_HEADER_AUDIT_END(nullability, sendability)++#else+#import <UIKitCore/UICornerRadius.h>+#endifdiff -ruN /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h--- /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h2025-07-02 00:04:46+++ /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h2025-07-15 01:49:08@@ -41,6 +41,13 @@  UIKIT_EXTERN NSNotificationName const UIDocumentStateChangedNotification API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NONISOLATED;+/// A notification that the document posts when copying the file from a readonly location in order to write changes.+/// This notification will be posted on the file presenter queue.+UIKIT_EXTERN NSNotificationName const UIDocumentDidMoveToWritableLocationNotification API_AVAILABLE(ios(26.0), visionos(26.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NONISOLATED NS_SWIFT_NAME(UIDocument.didMoveToWritableLocationNotification);++/// The key in a `UIDocumentDidMoveToWritableLocationNotification`'s `userInfo` dictionary that contains the previous readonly file URL.+UIKIT_EXTERN NSString * const UIDocumentDidMoveToWritableLocationOldURLKey API_AVAILABLE(ios(26.0), visionos(26.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_NAME(UIDocument.didMoveToWritableLocationOldURLKey);+ UIKIT_EXTERN API_AVAILABLE(ios(5.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR @interface UIDocument : NSObject <NSFilePresenter, NSProgressReporting>diff -ruN /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIGlassEffect.h /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIGlassEffect.h--- /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIGlassEffect.h2025-07-01 02:07:09+++ /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIGlassEffect.h2025-07-16 01:35:22@@ -12,6 +12,13 @@  NS_HEADER_AUDIT_BEGIN(nullability, sendability)+typedef NS_ENUM(NSInteger, UIGlassEffectStyle) {+    /// Standard glass effect style.+    UIGlassEffectStyleRegular,+    /// Clear glass effect style.+    UIGlassEffectStyleClear+} API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(visionos, watchos) NS_SWIFT_NAME(UIGlassEffect.Style);+ /// A visual effect that renders a glass material. UIKIT_EXTERN NS_SWIFT_UI_ACTOR API_AVAILABLE(ios(26.0))@@ -23,6 +30,10 @@  /// A tint color applied to the glass. @property (nonatomic, copy, nullable) UIColor *tintColor;++/// Creates a glass effect with the specified style.++ (UIGlassEffect *)effectWithStyle:(UIGlassEffectStyle)style NS_SWIFT_NAME(init(style:));+ @end  /// A `UIGlassContainerEffect` renders multiple glass elements into a combined effect.diff -ruN /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h--- /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h2025-07-02 00:59:49+++ /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h2025-07-16 00:44:10@@ -79,6 +79,8 @@ #import <UIKit/UIContentSizeCategoryAdjusting.h> #import <UIKit/UIContentSizeCategory.h> #import <UIKit/UIControl.h>+#import <UIKit/UICornerConfiguration.h>+#import <UIKit/UICornerRadius.h> #import <UIKit/UIDataDetectors.h> #import <UIKit/UIDatePicker.h> #import <UIKit/UIDevice.h>diff -ruN /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h--- /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h2025-07-02 00:59:58+++ /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h2025-07-12 03:45:40@@ -69,7 +69,7 @@ - (void)move:(nullable id)sender API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos); - (void)export:(nullable id)sender API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos);-- (void)toggleSidebar:(nullable id)sender API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(watchos);+- (void)toggleSidebar:(nullable id)sender API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos); - (void)toggleInspector:(nullable id)sender API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(watchos);  - (void)performClose:(nullable id)sender API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(watchos);diff -ruN /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h--- /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h2025-07-01 02:07:07+++ /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h2025-07-16 00:44:22@@ -54,7 +54,7 @@ @interface UIScreen : NSObject <UITraitEnvironment>  @property(class, nonatomic, readonly) NSArray<UIScreen *> *screens API_DEPRECATED("Use UIApplication.shared.openSessions to find open sessions with scenes from other screens", ios(3.2, 16.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos); // all screens currently attached to the device-@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead: i.e, view.window.windowScene.screen", ios(2.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED)) API_UNAVAILABLE(watchos); // the device's internal screen+@property(class, nonatomic, readonly) UIScreen *mainScreen API_DEPRECATED("Use a UIScreen instance found through context instead (i.e, view.window.windowScene.screen), or for properties like UIScreen.scale with trait equivalents, use a traitCollection found through context.", ios(2.0, 26.0), tvos(9.0, 26.0), visionos(1.0, 26.0)) API_UNAVAILABLE(watchos);  @property(nonatomic,readonly) CGRect  bounds;                // Bounds of entire screen in points @property(nonatomic,readonly) CGFloat scale API_AVAILABLE(ios(4.0));diff -ruN /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h--- /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h2025-07-02 00:04:56+++ /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h2025-07-12 03:45:43@@ -182,7 +182,19 @@ - (BOOL)searchBarShouldEndEditing:(UISearchBar *)searchBar;                        // return NO to not resign first responder - (void)searchBarTextDidEndEditing:(UISearchBar *)searchBar;                       // called when text ends editing - (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText;   // called when text changes (including clear)-- (BOOL)searchBar:(UISearchBar *)searchBar shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text API_AVAILABLE(ios(3.0)); // called before text changes+- (BOOL)searchBar:(UISearchBar *)searchBar shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text API_DEPRECATED_WITH_REPLACEMENT("-searchBar:shouldChangeTextInRanges:replacementText:", ios(3.0, API_TO_BE_DEPRECATED)); // called before text changes+/**+ * @abstract Asks the delegate if the text at the specified `ranges` should be replaced with `text`.+ *+ * @discussion If this method returns YES then the search bar will, at its own discretion, choose any one of the specified `ranges` of text and replace it with the specified `replacementText` before deleting the text at the other ranges. If the delegate does not implement this method then the `searchBar:shouldChangeTextInRange:replacementText:` method will be called and passed the union range instead. If the delegate also does not implement that method then YES is assumed.+ *+ * @param searchBar                 The search bar asking the delegate+ * @param ranges                       The ranges of the text that should be deleted before replacing+ * @param replacementText   The replacement text+ *+ * @return Returns true if the text at the `ranges` should be replaced.+ */+- (BOOL)searchBar:(UISearchBar *)searchBar shouldChangeTextInRanges:(NSArray<NSValue *> *)ranges replacementText:(NSString *)replacementText API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0), watchos(26.0)); // called before text changes  - (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar;                     // called when keyboard search button pressed - (void)searchBarBookmarkButtonClicked:(UISearchBar *)searchBar API_UNAVAILABLE(tvos); // called when bookmark button presseddiff -ruN /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIView.h--- /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIView.h2025-07-02 00:14:57+++ /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIView.h2025-07-12 03:47:14@@ -19,6 +19,7 @@ #import <UIKit/UIFocus.h> #import <UIKit/UIViewLayoutRegion.h> #import <UIKit/UIFocusEffect.h>+#import <UIKit/UICornerConfiguration.h> #import <UIUtilities/UICoordinateSpace.h>  NS_HEADER_AUDIT_BEGIN(nullability, sendability)@@ -747,6 +748,23 @@ - (UILayoutGuide *)layoutGuideForLayoutRegion:(UIViewLayoutRegion *)layoutRegion NS_REFINED_FOR_SWIFT; - (UIEdgeInsets)edgeInsetsForLayoutRegion:(UIViewLayoutRegion *)layoutRegion NS_REFINED_FOR_SWIFT; - (NSDirectionalEdgeInsets)directionalEdgeInsetsForLayoutRegion:(UIViewLayoutRegion *)layoutRegion NS_REFINED_FOR_SWIFT;++@end++API_AVAILABLE(ios(26.0), tvos(26.0), visionos(26.0)) API_UNAVAILABLE(watchos)+@interface UIView (CornerConfiguration)++/// A configuration that defines the corners of the view.+@property (nonatomic, copy, nonnull) UICornerConfiguration *cornerConfiguration NS_REFINED_FOR_SWIFT;++/// Returns the effective radius for the given `corner`, calculated using the view's current `cornerConfiguration`.+///+/// When invoked within ``UIView.layoutSubviews()``, ``UIView.updateProperties()``, or ``UIViewController.updateProperties()`` automatic invalidation will occur if the effective radius changes.+/// If more than one `corner` is provided, the returned radius represents the maximum effective radius of those corners.+///+/// - Parameter corner: The corner.+/// - Returns: The effective radius.+- (CGFloat)effectiveRadiusForCorner:(UIRectCorner)corner NS_SWIFT_NAME(effectiveRadius(corner:));  @end

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp