Skip to content

UIKit watchOS xcode13.0 beta1

Alex Soto edited this page Sep 13, 2021 · 3 revisions

#UIKit.framework https://github.com/xamarin/xamarin-macios/pull/12706

diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h	2021-03-16 08:48:19.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h	2021-06-02 05:38:40.000000000 -0400
@@ -194,11 +194,12 @@
 static const NSUnderlineStyle NSUnderlinePatternDashDotDot = NSUnderlineStylePatternDashDotDot;
 static const NSUnderlineStyle NSUnderlineByWord = NSUnderlineStyleByWord;
 
-
+#if TARGET_OS_IPHONE
 typedef NS_ENUM(NSInteger, NSTextWritingDirection) {
     NSTextWritingDirectionEmbedding     = (0 << 1),
     NSTextWritingDirectionOverride      = (1 << 1)
 } API_DEPRECATED_WITH_REPLACEMENT("NSWritingDirectionFormatType", ios(7.0, 9.0)) API_UNAVAILABLE(tvos);
+#endif
 
 @interface NSAttributedString(NSDeprecatedKitAdditions)
 - (nullable instancetype)initWithFileURL:(NSURL *)url options:(NSDictionary *)options documentAttributes:(NSDictionary* __nullable * __nullable)dict error:(NSError **)error API_DEPRECATED_WITH_REPLACEMENT("initWithURL:options:documentAttributes:error:", ios(7.0, 9.0)) API_UNAVAILABLE(tvos);
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h	2021-03-16 05:20:34.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h	2021-06-02 07:36:14.000000000 -0400
@@ -32,7 +32,7 @@
 
 @end
 
-API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos)
+API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
 @protocol UIItemProviderPresentationSizeProviding <NSObject>
 
 // Implement this on an object which conforms to the NSItemProviderWriting protocol.
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h	2021-03-16 05:18:44.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h	2021-06-02 12:44:57.000000000 -0400
@@ -12,7 +12,11 @@
 #import <UIKit/UIKitDefines.h>
 #import <UIKit/NSText.h>
 
+#ifndef FALL_2021_NEW_API_TRANSITION
+#define FALL_2021_NEW_API_TRANSITION 1
+#endif
 
+#if TARGET_OS_IPHONE
 NS_ASSUME_NONNULL_BEGIN
 
 #if !__NSPARAGRAPH_STYLE_SHARED_SECTION__
@@ -45,7 +49,8 @@
 typedef NSString * NSTextTabOptionKey NS_TYPED_ENUM;
 UIKIT_EXTERN NSTextTabOptionKey const NSTabColumnTerminatorsAttributeName API_AVAILABLE(macos(10.0), ios(7.0)); // An attribute for NSTextTab options.  The value is NSCharacterSet.  The character set is used to determine the tab column terminating character.  The tab and newline characters are implied even if not included in the character set.
 
-UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0)) @interface NSTextTab : NSObject <NSCopying, NSCoding, NSSecureCoding>
+UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0))
+@interface NSTextTab : NSObject <NSCopying, NSCoding, NSSecureCoding>
 
 + (NSCharacterSet *)columnTerminatorsForLocale:(nullable NSLocale *)aLocale API_AVAILABLE(macos(10.11), ios(7.0)); // Returns the column terminators for locale. Passing nil returns an instance corresponding to +[NSLocale systemLocale]. For matching user's formatting preferences, pass +[NSLocale currentLocale]. Can be used as the value for NSTabColumnTerminatorsAttributeName to make a decimal tab stop.
 
@@ -59,7 +64,8 @@
 
 
 // NSParagraphStyle
-UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(6.0)) @interface NSParagraphStyle : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
+UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(6.0))
+@interface NSParagraphStyle : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
 
 @property (class, readonly, copy, NS_NONATOMIC_IOSONLY) NSParagraphStyle *defaultParagraphStyle; // This class property returns a shared and cached NSParagraphStyle instance with the default style settings, with same value as the result of [[NSParagraphStyle alloc] init].
 
@@ -88,6 +94,9 @@
 // Specifies the threshold for hyphenation.  Valid values lie between 0.0 and 1.0 inclusive.  Hyphenation will be attempted when the ratio of the text width as broken without hyphenation to the width of the line fragment is less than the hyphenation factor.  When this takes on its default value of 0.0, the layout manager's hyphenation factor is used instead.  When both are 0.0, hyphenation is disabled.
 @property (readonly, NS_NONATOMIC_IOSONLY) float hyphenationFactor;
 
+// A property controlling the hyphenation behavior for the paragraph associated with the paragraph style. The exact hyphenation logic is dynamically determined by the layout context such as language, platform, etc. When YES, it affects the return value from -hyphenationFactor when the property is set to 0.0.
+@property (readonly, NS_NONATOMIC_IOSONLY) BOOL usesDefaultHyphenation API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+
 @property (readonly,copy, NS_NONATOMIC_IOSONLY) NSArray<NSTextTab *> *tabStops API_AVAILABLE(macos(10.0), ios(7.0)); // An array of NSTextTabs. Contents should be ordered by location. The default value is an array of 12 left-aligned tabs at 28pt interval
 @property (readonly, NS_NONATOMIC_IOSONLY) CGFloat defaultTabInterval API_AVAILABLE(macos(10.0), ios(7.0)); // The default tab interval used for locations beyond the last element in tabStops
 
@@ -98,7 +107,8 @@
 @end
 
 
-UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(6.0)) @interface NSMutableParagraphStyle : NSParagraphStyle
+UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(6.0))
+@interface NSMutableParagraphStyle : NSParagraphStyle
 
 @property (NS_NONATOMIC_IOSONLY) CGFloat lineSpacing;
 @property (NS_NONATOMIC_IOSONLY) CGFloat paragraphSpacing;
@@ -113,6 +123,7 @@
 @property (NS_NONATOMIC_IOSONLY) CGFloat lineHeightMultiple;
 @property (NS_NONATOMIC_IOSONLY) CGFloat paragraphSpacingBefore;
 @property (NS_NONATOMIC_IOSONLY) float hyphenationFactor;
+@property (readwrite, NS_NONATOMIC_IOSONLY) BOOL usesDefaultHyphenation API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
 @property (null_resettable, copy, NS_NONATOMIC_IOSONLY) NSArray<NSTextTab *> *tabStops API_AVAILABLE(macos(10.0), ios(7.0));
 @property (NS_NONATOMIC_IOSONLY) CGFloat defaultTabInterval API_AVAILABLE(macos(10.0), ios(7.0));
 @property (NS_NONATOMIC_IOSONLY) BOOL allowsDefaultTighteningForTruncation API_AVAILABLE(macos(10.11), ios(9.0));
@@ -125,8 +136,10 @@
 
 @end
 
-
 NS_ASSUME_NONNULL_END
+#elif TARGET_OS_OSX
+#import <AppKit/NSParagraphStyle.h>
+#endif
 
 #else
 #import <UIKitCore/NSParagraphStyle.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h	2021-03-16 05:20:33.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h	2021-06-02 07:36:13.000000000 -0400
@@ -17,7 +17,8 @@
  To set a shadow on an NSAttributedString use it as a value for NSShadowAttributeName.
  */
 
-UIKIT_EXTERN API_AVAILABLE(ios(6.0)) @interface NSShadow : NSObject <NSCopying, NSSecureCoding>
+UIKIT_EXTERN API_AVAILABLE(ios(6.0))
+@interface NSShadow : NSObject <NSCopying, NSSecureCoding>
 
 - (instancetype)init NS_DESIGNATED_INITIALIZER;
 - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h	2021-03-16 13:59:21.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h	2021-06-02 07:36:14.000000000 -0400
@@ -17,7 +17,8 @@
 
 // When attributes=nil, the methods declared here uses the default behavior for each attribute described in <UIKit/NSAttributedString.h>. When stringDrawingContext=nil, it's equivalent of passing the default instance initialized with [[NSStringDrawingContext alloc] init].
 
-UIKIT_EXTERN API_AVAILABLE(macos(10.11), ios(6.0)) @interface NSStringDrawingContext : NSObject
+UIKIT_EXTERN API_AVAILABLE(macos(10.11), ios(6.0))
+@interface NSStringDrawingContext : NSObject
 
 // Minimum scale factor for drawWithRect:options:context: and boundingRectWithSize:options:context: methods. If this property is set, the extended string drawing methods will attempt to draw the attributed string in the given bounds by proportionally scaling the font(s) in the attributed string
 @property (NS_NONATOMIC_IOSONLY) CGFloat minimumScaleFactor;
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h	2021-03-16 05:20:34.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h	2021-06-02 07:36:14.000000000 -0400
@@ -7,6 +7,7 @@
 //
 
 #import <Foundation/Foundation.h>
+#if TARGET_OS_IPHONE
 #if __has_include(<CoreText/CTParagraphStyle.h>)
 #import <CoreText/CTParagraphStyle.h>
 #endif
@@ -45,6 +46,9 @@
 #endif
 
 NS_ASSUME_NONNULL_END
+#elif TARGET_OS_OSX
+#import <AppKit/NSText.h>
+#endif
 
 #else
 #import <UIKitCore/NSText.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h	2021-03-16 09:56:22.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h	2021-06-02 07:36:14.000000000 -0400
@@ -20,7 +20,8 @@
 @class UIImage;
 @class UITraitCollection;
 
-UIKIT_EXTERN API_AVAILABLE(ios(2.0)) @interface UIColor : NSObject <NSSecureCoding, NSCopying>
+UIKIT_EXTERN API_AVAILABLE(ios(2.0))
+@interface UIColor : NSObject <NSSecureCoding, NSCopying>
 
 // Convenience methods for creating colors
 + (UIColor *)colorWithWhite:(CGFloat)white alpha:(CGFloat)alpha;
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h	2021-03-16 08:45:29.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h	2021-06-02 05:36:09.000000000 -0400
@@ -15,7 +15,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-UIKIT_EXTERN API_AVAILABLE(ios(2.0)) @interface UIFont : NSObject <NSCopying>
+UIKIT_EXTERN API_AVAILABLE(ios(2.0)) @interface UIFont : NSObject <NSCopying, NSSecureCoding>
 
 // Returns an instance of the font associated with the text style and scaled appropriately for the user's selected content size category. See UIFontDescriptor.h for the complete list.
 + (UIFont *)preferredFontForTextStyle:(UIFontTextStyle)style API_AVAILABLE(ios(7.0));
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h	2021-03-16 05:20:33.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h	2021-06-02 07:34:30.000000000 -0400
@@ -61,7 +61,8 @@
 
 @class NSMutableDictionary, NSDictionary, NSArray, NSSet, UITraitCollection;
 
-UIKIT_EXTERN API_AVAILABLE(ios(7.0)) @interface UIFontDescriptor : NSObject <NSCopying, NSSecureCoding>
+UIKIT_EXTERN API_AVAILABLE(ios(7.0))
+@interface UIFontDescriptor : NSObject <NSCopying, NSSecureCoding>
 
 - (instancetype)init;
 - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h	2021-03-16 13:56:54.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h	2021-06-02 05:35:51.000000000 -0400
@@ -18,6 +18,7 @@
 #if __has_include(<UIKit/NSTextAttachment.h>)
 #import <UIKit/NSTextAttachment.h>
 #endif
+#import <UIKit/UIImageVariants.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
@@ -29,6 +30,10 @@
 @class UIGraphicsImageRendererFormat;
 #endif
 
+#if __has_include(<UIKit/UIScreen.h>)
+@class UIScreen;
+#endif
+
 typedef NS_ENUM(NSInteger, UIImageOrientation) {
     UIImageOrientationUp,            // default orientation
     UIImageOrientationDown,          // 180 deg rotation
@@ -263,6 +268,30 @@
 - (UIImage *)imageWithTintColor:(UIColor *)color API_AVAILABLE(ios(13.0),tvos(13.0),watchos(6.0));
 - (UIImage *)imageWithTintColor:(UIColor *)color renderingMode:(UIImageRenderingMode)renderingMode API_AVAILABLE(ios(13.0),tvos(13.0),watchos(6.0));
 
+#if __has_include(<UIKit/UIScreen.h>)
+
+/// Synchronously prepares this image for displaying on the specified screen.
+///
+/// @return A UIImage object that contains the prepared image.
+///
+/// @note The prepared UIImage is not related to the original image. If the properties of the screen (such as its resolution or color gamut) change, or if the image is displayed on a different screen that the one it was prepared for, it may not render correctly.
+- (nullable UIImage *)imageByPreparingForDisplay API_AVAILABLE(ios(15.0),tvos(15.0),watchos(8.0));
+
+/// Asynchronously prepares this image for displaying on the specified screen.
+///
+/// The completion handler will be invoked on a private queue. Be sure to return to the main queue before assigning the prepared image to an image view.
+///
+/// @param completionHandler A block to invoke with the prepared image. If preparation failed (for example, beacuse the image data is corrupt), @c image will be nil.
+///
+/// @note The prepared UIImage is not related to the original image. If the properties of the screen (such as its resolution or color gamut) change, or if the image is displayed on a different screen that the one it was prepared for, it may not render correctly.
+- (void)prepareForDisplayWithCompletionHandler:(void (^)(UIImage *_Nullable))completionHandler NS_SWIFT_ASYNC_NAME(byPreparingForDisplay()) API_AVAILABLE(ios(15.0),tvos(15.0),watchos(8.0));
+
+- (nullable UIImage *)imageByPreparingThumbnailOfSize:(CGSize)size API_AVAILABLE(ios(15.0),tvos(15.0),watchos(8.0));
+
+- (void)prepareThumbnailOfSize:(CGSize)size completionHandler:(void (^)(UIImage *_Nullable))completionHandler NS_SWIFT_ASYNC_NAME(byPreparingThumbnail(ofSize:)) API_AVAILABLE(ios(15.0),tvos(15.0),watchos(8.0));
+
+#endif
+
 @end
 
 @interface UIImage (PreconfiguredSystemImages)
@@ -275,6 +304,42 @@
 
 @end
 
+@interface UIImage (ImageVariant)
+
+/// Get a system symbol with a certain variant shape.
++ (nullable UIImage *)systemImageNamed:(NSString *)name shape:(UIImageVariantShape)shape API_AVAILABLE(ios(15.0));
+/// Get a system symbol with a certain variant shape and fill.
++ (nullable UIImage *)systemImageNamed:(NSString *)name shape:(UIImageVariantShape)shape fill:(UIImageVariantFill)fill API_AVAILABLE(ios(15.0));
+/// Get a system symbol with a certain variant shape and fill with a specific configuration.
++ (nullable UIImage *)systemImageNamed:(NSString *)name shape:(UIImageVariantShape)shape fill:(UIImageVariantFill)fill withConfiguration:(nullable UIImageConfiguration *)configuration API_AVAILABLE(ios(15.0));
+
+/// Get a custom image with a certain variant shape.
++ (nullable UIImage *)imageNamed:(NSString *)name shape:(UIImageVariantShape)shape API_AVAILABLE(ios(15.0));
+/// Get a custom image with a certain variant shape and fill.
++ (nullable UIImage *)imageNamed:(NSString *)name shape:(UIImageVariantShape)shape fill:(UIImageVariantFill)fill API_AVAILABLE(ios(15.0));
+/// Get a custom image with a certain variant shape and fill with a specific configuration.
++ (nullable UIImage *)imageNamed:(NSString *)name shape:(UIImageVariantShape)shape fill:(UIImageVariantFill)fill withConfiguration:(nullable UIImageConfiguration *)configuration API_AVAILABLE(ios(15.0));
+
+/// Get an image with a variant shape.
+- (UIImage *)imageWithShape:(UIImageVariantShape)shape API_AVAILABLE(ios(15.0));
+
+/// Get an image with a variant fill.
+/// You can use this to both add or remove a fill variant of an image.
+- (UIImage *)imageWithFill:(UIImageVariantFill)fill API_AVAILABLE(ios(15.0));
+
+/// Get an image with a variant shape and fill. This is equivalent to
+/// getting a variant with a shape first, then requesting a variant with a fill, but
+/// without loading the intermediate image.
+- (UIImage *)imageWithShape:(UIImageVariantShape)shape fill:(UIImageVariantFill)fill API_AVAILABLE(ios(15.0));
+
+/// Get an image with a variant the same as another (variant) image.
+- (UIImage *)imageWithVariantsFromImage:(UIImage *)image API_AVAILABLE(ios(15.0));
+
+/// Remove all variants from a (variant) image.
+- (UIImage *)imageWithoutVariants API_AVAILABLE(ios(15.0));
+
+@end
+
 #if TARGET_OS_IOS
 @interface UIImage (NSItemProvider) <NSItemProviderReading, NSItemProviderWriting, UIItemProviderPresentationSizeProviding>
 #else
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h	2021-03-16 05:20:33.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h	2021-06-02 07:36:13.000000000 -0400
@@ -66,6 +66,10 @@
 + (instancetype)configurationWithFont:(UIFont *)font; // Adjusts for Dynamic Type. Use UIFontMetrics to get automatic adjustment with a custom font.
 + (instancetype)configurationWithFont:(UIFont *)font scale:(UIImageSymbolScale)scale; // Adjusts for Dynamic Type. Use UIFontMetrics to get automatic adjustment with a custom font.
 
++ (instancetype)configurationWithHierarchicalColor:(UIColor *)hierarchicalColor;
++ (instancetype)configurationWithPaletteColors:(NSArray<UIColor *> *)paletteColors;
++ (instancetype)configurationPreferringMulticolor;
+
 // Removes attributes from the configuration if they are set
 - (instancetype)configurationWithoutTextStyle;
 - (instancetype)configurationWithoutScale;
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageVariants.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageVariants.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageVariants.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageVariants.h	2021-06-02 07:36:14.000000000 -0400
@@ -0,0 +1,28 @@
+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UIImageVariants.h>)
+//
+//  UIImageVariants.h
+//  UIKit
+//
+//  Copyright © 2021 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+typedef NS_ENUM(NSInteger, UIImageVariantShape) {
+    UIImageVariantShapeUnspecified = -1,    // shape value is not specified
+    UIImageVariantShapeNone = 0,            // don't use any shape. This is different from unspecified.
+    UIImageVariantShapeCircle,              // prefer a circle shape
+    UIImageVariantShapeSquare,              // prefer a square shape
+    UIImageVariantShapeRectangle            // prefer a rectangle shape
+} API_AVAILABLE(ios(15.0));
+
+typedef NS_ENUM(NSInteger, UIImageVariantFill) {
+    UIImageVariantFillUnspecified = -1,     // fill value is not specified
+    UIImageVariantFillOutline = 0,          // prefer an unfilled, outlined shape
+    UIImageVariantFillFilled                // prefer a filled shape
+} API_AVAILABLE(ios(15.0));
+
+
+#else
+#import <UIKitCore/UIImageVariants.h>
+#endif
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2021-03-16 02:33:25.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2021-06-01 22:11:47.000000000 -0400
@@ -178,6 +178,9 @@
   - Name: 'configurationState'
     PropertyKind: Instance
     SwiftPrivate: true
+  - Name: 'configurationUpdateHandler'
+    PropertyKind: Instance
+    SwiftPrivate: true
   - Name: 'backgroundConfiguration'
     PropertyKind: Instance
     SwiftPrivate: true
@@ -196,6 +199,9 @@
   - Name: 'configurationState'
     PropertyKind: Instance
     SwiftPrivate: true
+  - Name: 'configurationUpdateHandler'
+    PropertyKind: Instance
+    SwiftPrivate: true
   - Name: 'backgroundConfiguration'
     PropertyKind: Instance
     SwiftPrivate: true
@@ -211,6 +217,9 @@
   - Name: 'configurationState'
     PropertyKind: Instance
     SwiftPrivate: true
+  - Name: 'configurationUpdateHandler'
+    PropertyKind: Instance
+    SwiftPrivate: true
   - Name: 'backgroundConfiguration'
     PropertyKind: Instance
     SwiftPrivate: true
@@ -429,6 +438,18 @@
   - Selector: 'buttonWithType:primaryAction:'
     MethodKind: Class
     SwiftPrivate: true
+  - Selector: 'buttonWithConfiguration:primaryAction:'
+    MethodKind: Class
+    SwiftPrivate: true
+  - Selector: 'preferredSizeForConfiguration:maximumWidth:'
+    MethodKind: Instance
+    SwiftPrivate: true
+  Properties:
+  - Name: 'configuration'
+    PropertyKind: Instance
+    SwiftPrivate: true
+- Name: UIButtonConfiguration
+  SwiftPrivate: true
 - Name: UIBarButtonItem
   Methods:
   - Selector: 'initWithBarButtonSystemItem:primaryAction:'
@@ -670,6 +691,8 @@
   Properties:
   - Name: isKeyWindow
     SwiftName: isKey
+  - Name: canBecomeKeyWindow
+    SwiftName: canBecomeKey
   Methods:
   - Selector: becomeKeyWindow
     SwiftName: becomeKey()
@@ -750,6 +773,21 @@
   - Selector: 'systemImageNamed:compatibleWithTraitCollection:'
     MethodKind: Class
     SwiftName: 'init(systemName:compatibleWith:)'
+  - Selector: 'systemImageNamed:shape:'
+    MethodKind: Class
+    SwiftName: 'init(systemName:shape:)'
+  - Selector: 'systemImageNamed:shape:fill:'
+    MethodKind: Class
+    SwiftName: 'init(systemName:shape:fill:)'
+  - Selector: 'systemImageNamed:shape:fill:withConfiguration:'
+    MethodKind: Class
+    SwiftName: 'init(systemName:shape:fill:configuration:)'
+  - Selector: 'imageWithoutVariants'
+    MethodKind: Instance
+    SwiftName: 'withoutVariants()'
+  - Selector: 'imageWithVariantsFromImage:'
+    MethodKind: Instance
+    SwiftName: 'withVariants(from:)'
 - Name: UIImageConfiguration
   SwiftName: UIImage.Configuration
 - Name: UIImageSymbolConfiguration
@@ -759,6 +797,42 @@
   - Selector: 'elementWithProvider:'
     SwiftName: 'init(_:)'
     MethodKind: Class
+- Name: UIBandSelectionInteraction
+  Methods:
+  - Selector: 'initWithSelectionHandler:'
+    SwiftName: 'init(_:)'
+    MethodKind: Instance
+  Properties:
+  - Name: 'selectionRect'
+    PropertyKind: Instance
+    SwiftPrivate: true
+- Name: UIPointerAccessory
+  Properties:
+  - Name: shape
+    PropertyKind: Instance
+    SwiftPrivate: true
+  Methods:
+  - Selector: 'accessoryWithShape:position:'
+    MethodKind: Class
+    SwiftPrivate: true
+  - Selector: 'arrowAccessoryWithPosition:'
+    MethodKind: Class
+    SwiftPrivate: true
+- Name: UIWindowSceneActivationConfiguration
+  SwiftName: UIWindowScene.ActivationConfiguration
+- Name: UIWindowSceneActivationRequestOptions
+  SwiftName: UIWindowScene.ActivationRequestOptions
+- Name: UIWindowSceneActivationAction
+  SwiftName: UIWindowScene.ActivationAction
+- Name: UIWindowSceneActivationInteraction
+  SwiftName: UIWindowScene.ActivationInteraction
+- Name: UISheetPresentationControllerDetent
+  SwiftName: UISheetPresentationController.Detent
+- Name: UISheetPresentationController
+  Properties:
+  - Name: preferredCornerRadius
+    PropertyKind: Instance
+    SwiftPrivate: true
 Protocols:
 - Name: UIConfigurationState
   SwiftPrivate: true
@@ -853,6 +927,9 @@
     MethodKind: Instance
 - Name: UIAdaptivePresentationControllerDelegate
   Methods:
+  - Selector: 'presentationController:prepareAdaptivePresentationController:'
+    SwiftName: presentationController(_:prepare:)
+    MethodKind: Instance
   - Selector: 'presentationControllerDidAttemptToDismiss:'
     SwiftName: presentationControllerDidAttemptToDismiss(_:)
     MethodKind: Instance
@@ -1029,6 +1106,12 @@
   SwiftName: UIGraphicsImageRendererFormat.Range
 - Name: UIContextMenuInteractionAppearance
   SwiftName: UIContextMenuInteraction.appearance
+- Name: UIBandSelectionInteractionState
+  SwiftName: UIBandSelectionInteraction.State
+- Name: UIPointerAccessoryPosition
+  SwiftPrivate: true
+- Name: UIFocusHaloEffectPosition
+  SwiftName: UIFocusHaloEffect.Position
 # Swift 4.2 Renames
 - Name: UIApplicationState
   SwiftName: UIApplication.State
@@ -1140,6 +1223,14 @@
   SwiftName: UIButton.ButtonType
 - Name: UIButtonRole
   SwiftName: UIButton.Role
+- Name: UIButtonConfigurationSize
+  SwiftPrivate: true
+- Name: UIButtonConfigurationTitleAlignment
+  SwiftPrivate: true
+- Name: UIButtonConfigurationCornerStyle
+  SwiftPrivate: true
+- Name: UIButtonConfigurationMacIdiomStyle
+  SwiftPrivate: true
 - Name: UIDatePickerMode
   SwiftName: UIDatePicker.Mode
 - Name: UISwitchStyle
@@ -1282,6 +1373,10 @@
   SwiftName: UIImage.SymbolScale
 - Name: UIImageSymbolWeight
   SwiftName: UIImage.SymbolWeight
+- Name: UIImageVariantShape
+  SwiftName: UIImage.VariantShape
+- Name: UIImageVariantFill
+  SwiftName: UIImage.VariantFill
 - Name: UIPrinterCutterBehavior
   SwiftName: UIPrinter.CutterBehavior
 - Name: UIPrinterJobTypes
@@ -1309,8 +1404,18 @@
 - Name: UIWindowSceneDismissalAnimation
   SwiftName: UIWindowScene.DismissalAnimation
 Typedefs:
+- Name: UIButtonConfigurationUpdateHandler
+  SwiftName: UIButton.ConfigurationUpdateHandler
 - Name: UIConfigurationColorTransformer
   SwiftPrivate: true
+- Name: UITableViewCellConfigurationUpdateHandler
+  SwiftPrivate: true
+- Name: UITableViewHeaderFooterViewConfigurationUpdateHandler
+  SwiftPrivate: true
+- Name: UICollectionViewCellConfigurationUpdateHandler
+  SwiftPrivate: true
+- Name: UIConfigurationTextAttributesTransformer
+  SwiftPrivate: true
 - Name: UICellAccessoryPosition
   SwiftPrivate: true
 - Name: UICollectionViewCellRegistrationConfigurationHandler
@@ -1353,6 +1458,8 @@
   SwiftPrivate: true
 - Name: UISceneSessionRole
   SwiftName: UISceneSession.Role
+- Name: UISheetPresentationControllerDetentIdentifier
+  SwiftName: UISheetPresentationControllerDetent.Identifier
 # Swift 4.2 Renames
 - Name: UIActivityType
   SwiftName: UIActivity.ActivityType
@@ -1646,9 +1753,9 @@
 - Name: UIFontSlantTrait
   SwiftName: slant
 - Name: UIFontFeatureTypeIdentifierKey
-  SwiftName: featureIdentifier
+  SwiftName: type
 - Name: UIFontFeatureSelectorIdentifierKey
-  SwiftName: typeIdentifier
+  SwiftName: selector
 - Name: UIFontWeightUltraLight
   SwiftName: ultraLight
 - Name: UIFontWeightThin
@@ -1693,6 +1800,8 @@
   SwiftName: windowApplication
 - Name: UIWindowSceneSessionRoleExternalDisplay
   SwiftName: windowExternalDisplay
+- Name: UISheetPresentationControllerAutomaticDimension
+  SwiftPrivate: true
 # Swift 4.2 Renames
 - Name: UIApplicationBackgroundRefreshStatusDidChangeNotification
   SwiftName: UIApplication.backgroundRefreshStatusDidChangeNotification
@@ -1902,6 +2011,8 @@
   SwiftName: UICollectionViewFlowLayout.automaticSize
 - Name: UITableViewAutomaticDimension
   SwiftName: UITableView.automaticDimension
+- Name: UICollectionViewLayoutAutomaticDimension
+  SwiftPrivate: true
 - Name: UISplitViewControllerAutomaticDimension
   SwiftName: UISplitViewController.automaticDimension
 - Name: UIFloatRangeZero
@@ -1978,6 +2089,8 @@
   SwiftName: UIKeyCommand.f11
 - Name: UIKeyInputF12
   SwiftName: UIKeyCommand.f12
+- Name: UIKeyInputDelete
+  SwiftName: UIKeyCommand.inputDelete
 - Name: NSUserActivityDocumentURLKey
   SwiftName: UIDocument.userActivityURLKey
 - Name: UIViewControllerHierarchyInconsistencyException
@@ -2207,6 +2320,8 @@
   SwiftName: "UIAccessibility.guidedAccessRestrictionState(forIdentifier:)"
 - Name: UIGuidedAccessConfigureAccessibilityFeatures
   SwiftName: "UIAccessibility.configureForGuidedAccess(features:enabled:completionHandler:)"
+- Name: UIPointerAccessoryPositionMake
+  SwiftPrivate: true
 SwiftVersions:
 #
 # Swift 4 and below specific conversions
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2021-03-16 08:41:21.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2021-06-01 22:08:31.000000000 -0400
@@ -44,6 +44,7 @@
 #import <UIKit/UIBarButtonItemGroup.h>
 #import <UIKit/UIBarItem.h>
 #import <UIKit/UIButton.h>
+#import <UIKit/UIButtonConfiguration.h>
 #import <UIKit/UICollectionView.h>
 #import <UIKit/UICollectionViewCell.h>
 #import <UIKit/UICollectionViewController.h>
@@ -97,6 +98,7 @@
 #import <UIKit/UIGraphicsPDFRenderer.h>
 #import <UIKit/UIImageAsset.h>
 #import <UIKit/UIImagePickerController.h>
+#import <UIKit/UIImageVariants.h>
 #import <UIKit/UIImageView.h>
 #import <UIKit/UIInputView.h>
 #import <UIKit/UIInputViewController.h>
@@ -216,6 +218,8 @@
 #import <UIKit/NSLayoutConstraint.h>
 #import <UIKit/NSLayoutAnchor.h>
 #import <UIKit/UILayoutGuide.h>
+#import <UIKit/UIKeyboardLayoutGuide.h>
+#import <UIKit/UITrackingLayoutGuide.h>
 #import <UIKit/UIStackView.h>
 #import <UIKit/NSLayoutManager.h>
 #import <UIKit/NSTextAttachment.h>
@@ -226,6 +230,7 @@
 #import <UIKit/UIViewControllerTransitionCoordinator.h>
 #import <UIKit/UIPresentationController.h>
 #import <UIKit/UIPreviewInteraction.h>
+#import <UIKit/UISheetPresentationController.h>
 #import <UIKit/UIPopoverPresentationController.h>
 #import <UIKit/UIDynamicAnimator.h>
 #import <UIKit/UIDynamicBehavior.h>
@@ -277,6 +282,7 @@
 #import <UIKit/UIFocusMovementHint.h>
 #import <UIKit/UIPencilInteraction.h>
 #import <UIKit/UISceneDefinitions.h>
+#import <UIKit/UISceneEnhancedStateRestoration.h>
 #import <UIKit/UISceneOptions.h>
 #import <UIKit/UIScene.h>
 #import <UIKit/UIWindowScene.h>
@@ -300,8 +306,17 @@
 #import <UIKit/UIPointerInteraction.h>
 #import <UIKit/UIPointerStyle.h>
 #import <UIKit/UIPointerRegion.h>
+#import <UIKit/UIBandSelectionInteraction.h>
+#import <UIKit/UIPointerAccessory.h>
 #import <UIKit/UIColorWell.h>
 #import <UIKit/UIColorPickerViewController.h>
 #import <UIKit/UIEventAttribution.h>
 #import <UIKit/UIEventAttributionView.h>
+#import <UIKit/UIBehavioralStyle.h>
+#import <UIKit/UIWindowSceneActivationRequestOptions.h>
+#import <UIKit/UIWindowSceneActivationConfiguration.h>
+#import <UIKit/UIWindowSceneActivationAction.h>
+#import <UIKit/UIWindowSceneActivationInteraction.h>
+#import <UIKit/UIFocusEffect.h>
+#import <UIKit/UIToolTipInteraction.h>
 #endif
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h	2021-03-16 05:20:33.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h	2021-06-02 07:36:13.000000000 -0400
@@ -28,12 +28,24 @@
 #define UIKIT_CLASS_AVAILABLE_IOS_TVOS(_ios, _tvos) UIKIT_EXTERN __IOS_AVAILABLE(_ios) __WATCHOS_UNAVAILABLE __TVOS_AVAILABLE(_tvos)
 #define UIKIT_CLASS_AVAILABLE_IOS_WATCHOS_TVOS(_ios, _watchos, _tvos) UIKIT_EXTERN __IOS_AVAILABLE(_ios) __WATCHOS_AVAILABLE(_watchos) __TVOS_AVAILABLE(_tvos)
 
+#define UIKIT_SWIFT_ACTOR_INDEPENDENT __attribute__((swift_attr("@actorIndependent(unsafe)")))
+
 #if __swift__
 #define UIKIT_SWIFT_FORWARD_DECLARE(DECLARATION) DECLARATION;
 #else
 #define UIKIT_SWIFT_FORWARD_DECLARE(DECLARATION)
 #endif
 
+#if !defined(UIKIT_EXTERN_C_BEGIN) && !defined(UIKIT_EXTERN_C_END)
+    #ifdef __cplusplus
+        #define UIKIT_EXTERN_C_BEGIN extern "C" {
+        #define UIKIT_EXTERN_C_END }
+    #else
+        #define UIKIT_EXTERN_C_BEGIN
+        #define UIKIT_EXTERN_C_END
+    #endif
+#endif
+
 #else
 #import <UIKitCore/UIKitDefines.h>
 #endif
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h	2021-03-16 05:20:34.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h	2021-06-02 07:36:14.000000000 -0400
@@ -14,7 +14,7 @@
 @class CLRegion;
 
 // In iOS 8.0 and later, your application must register for user notifications using -[UIApplication registerUserNotificationSettings:] before being able to schedule and present UILocalNotifications
-UIKIT_EXTERN API_DEPRECATED("Use UserNotifications Framework's UNNotificationRequest", ios(4.0, 10.0)) API_UNAVAILABLE(tvos)
+UIKIT_EXTERN API_DEPRECATED("Use UserNotifications Framework's UNNotificationRequest", ios(4.0, 10.0)) API_UNAVAILABLE(tvos) NS_SWIFT_UI_ACTOR
 @interface UILocalNotification : NSObject<NSCopying, NSCoding>
 
 - (instancetype)init NS_DESIGNATED_INITIALIZER;
Clone this wiki locally