Skip to content

UIKit watchOS xcode13.0 beta5

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

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

diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h	2021-07-23 13:30:59.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h	2021-08-06 23:45:29.000000000 -0400
@@ -14,6 +14,9 @@
 @class NSURL;
 
 NS_ASSUME_NONNULL_BEGIN
+
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 /************************ Attributes ************************/
 
 // Predefined character attributes for text. If the key is not present in the dictionary, it indicates the default value described below.
@@ -208,6 +211,9 @@
 @interface NSMutableAttributedString (NSDeprecatedKitAdditions)
 - (BOOL)readFromFileURL:(NSURL *)url options:(NSDictionary *)opts documentAttributes:(NSDictionary* __nullable * __nullable)dict error:(NSError **)error API_DEPRECATED_WITH_REPLACEMENT("readFromURL:options:documentAttributes:error:", ios(7.0, 9.0)) API_UNAVAILABLE(tvos);
 @end
+
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 NS_ASSUME_NONNULL_END
 
 #else
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h	2021-07-23 13:32:44.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h	2021-08-06 23:47:20.000000000 -0400
@@ -14,6 +14,8 @@
 #if !__NSDATAASSET_SHARED_SECTION__
 #define __NSDATAASSET_SHARED_SECTION__ 1
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 typedef NSString * NSDataAssetName NS_SWIFT_BRIDGED_TYPEDEF API_AVAILABLE(ios(9.0), macos(10.11), tvos(9.0), watchos(2.0));
 
 /// NSDataAsset represents the contents of data entries in your asset catalog.
@@ -36,6 +38,7 @@
 
 @end
 
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
 #endif // __NSDATAASSET_SHARED_SECTION__
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h	2021-07-23 13:32:43.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h	2021-08-06 23:47:20.000000000 -0400
@@ -12,6 +12,8 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 /*
  NSShadow stores the properties of a drop shadow for drawing text.
  To set a shadow on an NSAttributedString use it as a value for NSShadowAttributeName.
@@ -29,6 +31,8 @@
 
 @end
 
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 NS_ASSUME_NONNULL_END
 
 #else
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h	2021-07-22 04:39:14.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h	2021-08-06 23:45:29.000000000 -0400
@@ -15,6 +15,8 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 // 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))
@@ -70,6 +72,8 @@
 @property (nonatomic, readonly) CGFloat actualTrackingAdjustment API_DEPRECATED("", ios(6.0, 7.0)) API_UNAVAILABLE(tvos);
 @end
 
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 NS_ASSUME_NONNULL_END
 
 #else
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h	2021-07-22 04:39:01.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h	2021-08-09 03:26:09.000000000 -0400
@@ -22,11 +22,12 @@
 typedef struct __attribute__((objc_boxable)) UIEdgeInsets {
     CGFloat top, left, bottom, right;  // specify amount to inset (positive) for each of the edges. values can be negative to 'outset'
 } UIEdgeInsets;
-#endif
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 
 /* Geometry type declarations marked with `#ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY` are being relocated to Foundation/NSGeometry.h */
 
 #ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
 
 /* Specifically for use in methods and functions supporting user interface layout direction
  */
@@ -34,7 +35,8 @@
     CGFloat top, leading, bottom, trailing;  // specify amount to inset (positive) for each of the edges. values can be negative to 'outset'
 } NSDirectionalEdgeInsets API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
 
-#endif
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 
 typedef struct __attribute__((objc_boxable)) UIOffset {
     CGFloat horizontal, vertical; // specify amount to offset a position, positive for right or down, negative for left or up
@@ -79,6 +81,8 @@
 
 #else
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 typedef NS_OPTIONS(NSUInteger, NSDirectionalRectEdge) {
     NSDirectionalRectEdgeNone       = 0,
     NSDirectionalRectEdgeTop        = 1 << 0,
@@ -110,7 +114,8 @@
     NSRectAlignmentTopTrailing,
 } API_AVAILABLE(ios(13.0));
 
-#endif
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 
 UIKIT_STATIC_INLINE UIEdgeInsets UIEdgeInsetsMake(CGFloat top, CGFloat left, CGFloat bottom, CGFloat right) {
     UIEdgeInsets insets = {top, left, bottom, right};
@@ -118,12 +123,14 @@
 }
 
 #ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
 UIKIT_STATIC_INLINE NSDirectionalEdgeInsets NSDirectionalEdgeInsetsMake(CGFloat top, CGFloat leading, CGFloat bottom, CGFloat trailing) API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0))
 {
     NSDirectionalEdgeInsets insets = {top, leading, bottom, trailing};
     return insets;
 }
-#endif
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 
 UIKIT_STATIC_INLINE CGRect UIEdgeInsetsInsetRect(CGRect rect, UIEdgeInsets insets) {
     rect.origin.x    += insets.left;
@@ -143,11 +150,13 @@
 }
 
 #ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
 UIKIT_STATIC_INLINE BOOL NSDirectionalEdgeInsetsEqualToDirectionalEdgeInsets(NSDirectionalEdgeInsets insets1, NSDirectionalEdgeInsets insets2) API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0))
 {
     return insets1.leading == insets2.leading && insets1.top == insets2.top && insets1.trailing == insets2.trailing && insets1.bottom == insets2.bottom;
 }
-#endif
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 
 UIKIT_STATIC_INLINE BOOL UIOffsetEqualToOffset(UIOffset offset1, UIOffset offset2) {
     return offset1.horizontal == offset2.horizontal && offset1.vertical == offset2.vertical;
@@ -155,8 +164,10 @@
 
 UIKIT_EXTERN const UIEdgeInsets UIEdgeInsetsZero;
 #ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
 UIKIT_EXTERN const NSDirectionalEdgeInsets NSDirectionalEdgeInsetsZero API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
-#endif
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 UIKIT_EXTERN const UIOffset UIOffsetZero;
 
 UIKIT_EXTERN NSString *NSStringFromCGPoint(CGPoint point);
@@ -166,8 +177,10 @@
 UIKIT_EXTERN NSString *NSStringFromCGAffineTransform(CGAffineTransform transform);
 UIKIT_EXTERN NSString *NSStringFromUIEdgeInsets(UIEdgeInsets insets);
 #ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
 UIKIT_EXTERN NSString *NSStringFromDirectionalEdgeInsets(NSDirectionalEdgeInsets insets) API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
-#endif
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 UIKIT_EXTERN NSString *NSStringFromUIOffset(UIOffset offset);
 
 UIKIT_EXTERN CGPoint CGPointFromString(NSString *string);
@@ -177,8 +190,10 @@
 UIKIT_EXTERN CGAffineTransform CGAffineTransformFromString(NSString *string);
 UIKIT_EXTERN UIEdgeInsets UIEdgeInsetsFromString(NSString *string);
 #ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
 UIKIT_EXTERN NSDirectionalEdgeInsets NSDirectionalEdgeInsetsFromString(NSString *string) API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
-#endif
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 UIKIT_EXTERN UIOffset UIOffsetFromString(NSString *string);
 
 @interface NSValue (NSValueUIGeometryExtensions)
@@ -190,8 +205,10 @@
 + (NSValue *)valueWithCGAffineTransform:(CGAffineTransform)transform;
 + (NSValue *)valueWithUIEdgeInsets:(UIEdgeInsets)insets;
 #ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
 + (NSValue *)valueWithDirectionalEdgeInsets:(NSDirectionalEdgeInsets)insets API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
-#endif
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 + (NSValue *)valueWithUIOffset:(UIOffset)insets API_AVAILABLE(ios(5.0));
 
 @property(nonatomic, readonly) CGPoint CGPointValue;
@@ -201,8 +218,10 @@
 @property(nonatomic, readonly) CGAffineTransform CGAffineTransformValue;
 @property(nonatomic, readonly) UIEdgeInsets UIEdgeInsetsValue;
 #ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
 @property(nonatomic, readonly) NSDirectionalEdgeInsets directionalEdgeInsetsValue API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
-#endif
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 @property(nonatomic, readonly) UIOffset UIOffsetValue API_AVAILABLE(ios(5.0));
 
 @end
@@ -216,8 +235,10 @@
 - (void)encodeCGAffineTransform:(CGAffineTransform)transform forKey:(NSString *)key;
 - (void)encodeUIEdgeInsets:(UIEdgeInsets)insets forKey:(NSString *)key;
 #ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
 - (void)encodeDirectionalEdgeInsets:(NSDirectionalEdgeInsets)insets forKey:(NSString *)key API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
-#endif
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 - (void)encodeUIOffset:(UIOffset)offset forKey:(NSString *)key API_AVAILABLE(ios(5.0));
 
 - (CGPoint)decodeCGPointForKey:(NSString *)key;
@@ -227,8 +248,10 @@
 - (CGAffineTransform)decodeCGAffineTransformForKey:(NSString *)key;
 - (UIEdgeInsets)decodeUIEdgeInsetsForKey:(NSString *)key;
 #ifndef FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
 - (NSDirectionalEdgeInsets)decodeDirectionalEdgeInsetsForKey:(NSString *)key API_AVAILABLE(ios(11.0),tvos(11.0),watchos(4.0));
-#endif
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+#endif // FOUNDATION_HAS_DIRECTIONAL_GEOMETRY
 - (UIOffset)decodeUIOffsetForKey:(NSString *)key API_AVAILABLE(ios(5.0));
 
 @end
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h	2021-07-23 13:32:43.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h	2021-08-06 23:47:20.000000000 -0400
@@ -18,7 +18,6 @@
 #if __has_include(<UIKit/NSTextAttachment.h>)
 #import <UIKit/NSTextAttachment.h>
 #endif
-#import <UIKit/UIImageVariants.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
@@ -305,29 +304,6 @@
 @end
 
 
-@interface UIImage (UIImageVariant)
-
-/// Get a system symbol with a certain variant.
-+ (nullable UIImage *)systemImageNamed:(NSString *)name variant:(UIImageVariant)variant API_AVAILABLE(ios(15.0),tvos(15.0),watchos(8.0));
-/// Get a system symbol with a certain variant with a specific configuration.
-+ (nullable UIImage *)systemImageNamed:(NSString *)name variant:(UIImageVariant)variant withConfiguration:(nullable UIImageConfiguration *)configuration API_AVAILABLE(ios(15.0),tvos(15.0),watchos(8.0));
-
-/// Get a custom image with a certain variant.
-+ (nullable UIImage *)imageNamed:(NSString *)name variant:(UIImageVariant)variant API_AVAILABLE(ios(15.0),tvos(15.0),watchos(8.0));
-/// Get a custom image with a certain variant with a specific configuration.
-+ (nullable UIImage *)imageNamed:(NSString *)name variant:(UIImageVariant)variant withConfiguration:(nullable UIImageConfiguration *)configuration API_AVAILABLE(ios(15.0),tvos(15.0),watchos(8.0));
-
-/// Get an image with a variant.
-- (nullable UIImage *)imageByApplyingVariant:(UIImageVariant)variant API_AVAILABLE(ios(15.0),tvos(15.0),watchos(8.0));
-
-/// Get an image with a variant the same as another (variant) image.
-- (nullable UIImage *)imageByApplyingVariantFromImage:(UIImage *)image API_AVAILABLE(ios(15.0),tvos(15.0),watchos(8.0));
-
-/// Remove all variants from a (variant) image.
-- (nullable UIImage *)imageByRemovingVariant API_AVAILABLE(ios(15.0),tvos(15.0),watchos(8.0));
-
-@end
-
 #if TARGET_OS_IOS
 @interface UIImage (NSItemProvider) <NSItemProviderReading, NSItemProviderWriting, UIItemProviderPresentationSizeProviding>
 #else
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageVariants.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageVariants.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageVariants.h	2021-07-23 13:32:44.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.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
@@ -1,25 +0,0 @@
-#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_OPTIONS(NSUInteger, UIImageVariant) {
-    UIImageVariantNone = 0,              // don't use any shape. This is different than unspecified.
-
-    UIImageVariantCircle = 1 << 1,       // prefer a circle shape
-    UIImageVariantSquare = 1 << 2,       // prefer a square shape
-    UIImageVariantRectangle = 1 << 3,    // prefer a rectangle shape
-
-    UIImageVariantSlash = 1 << 16,       // prefer a slash accessory
-
-    UIImageVariantFill = 1 << 30,        // prefer a filled shape
-} API_AVAILABLE(ios(15.0)) NS_REFINED_FOR_SWIFT;
-
-#else
-#import <UIKitCore/UIImageVariants.h>
-#endif
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2021-07-18 18:45:47.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2021-08-05 00:59:42.000000000 -0400
@@ -1497,10 +1497,6 @@
   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
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2021-07-21 02:58:01.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2021-08-04 00:58:39.000000000 -0400
@@ -98,7 +98,6 @@
 #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>
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h	2021-07-23 13:32:43.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h	2021-08-06 23:47:20.000000000 -0400
@@ -46,6 +46,14 @@
     #endif
 #endif
 
+#if !defined(UIKIT_HAS_UIFOUNDATION_SYMBOLS)
+    #if defined(UIKIT_BUILDING_UIKITMACHELPER)
+        #define UIKIT_HAS_UIFOUNDATION_SYMBOLS TARGET_OS_IPHONE
+    #else
+        #define UIKIT_HAS_UIFOUNDATION_SYMBOLS 1
+    #endif // defined(UIKIT_BUILDING_UIKITMACHELPER)
+#endif // !defined(UIKIT_HAS_UIFOUNDATION_SYMBOLS)
+
 #else
 #import <UIKitCore/UIKitDefines.h>
 #endif
Clone this wiki locally