Skip to content

UIKit iOS 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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h	2021-07-22 14:23:09.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h	2021-08-09 03:26:15.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h	2021-07-22 14:35:17.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h	2021-08-07 08:55:07.000000000 -0400
@@ -18,6 +18,8 @@
 #define NSLAYOUTANCHOR_EXTERN extern __attribute((visibility("default")))
 #endif
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 @class NSLayoutConstraint, NSLayoutDimension;
 
 /*
@@ -95,6 +97,7 @@
 
 @end
 
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
 #endif // NSLAYOUTANCHOR_H
 
 @interface NSLayoutXAxisAnchor (UIViewDynamicSystemSpacingSupport)
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h	2021-07-22 04:36:45.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h	2021-08-07 05:23:52.000000000 -0400
@@ -36,6 +36,8 @@
 #define NSLAYOUTCONSTRAINT_EXTERN extern __attribute((visibility("default")))
 #endif
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 typedef NS_ENUM(NSInteger, NSLayoutRelation) {
     NSLayoutRelationLessThanOrEqual = -1,
     NSLayoutRelationEqual = 0,
@@ -195,6 +197,8 @@
 
 @end
 
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 #endif // NSLAYOUTCONSTRAINT_H
 
 /*
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h	2021-07-22 14:19:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h	2021-08-07 08:52:05.000000000 -0400
@@ -17,6 +17,8 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 @protocol NSLayoutManagerDelegate;
 
 #if !__NSLAYOUT_MANAGER_SHARED_SECTION__
@@ -374,6 +376,7 @@
 
 @end
 
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
 
 NS_ASSUME_NONNULL_END
 
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h	2021-07-22 14:23:04.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h	2021-08-09 03:26:10.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h	2021-07-22 04:39:05.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h	2021-08-07 08:55:07.000000000 -0400
@@ -12,6 +12,8 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 enum {
     NSAttachmentCharacter API_AVAILABLE(macos(10.0), ios(7.0), tvos(9.0)) API_UNAVAILABLE(watchos) = 0xFFFC // Replacement character is used for attachments
 };
@@ -129,6 +131,8 @@
 - (CGRect)attachmentBoundsForAttributes:(NSDictionary<NSAttributedStringKey, id> *)attributes location:(id <NSTextLocation>)location textContainer:(nullable NSTextContainer *)textContainer proposedLineFragment:(CGRect)proposedLineFragment position:(CGPoint)position;
 @end
 
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 NS_ASSUME_NONNULL_END
 
 #else
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h	2021-07-22 04:36:39.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h	2021-08-07 08:55:01.000000000 -0400
@@ -16,6 +16,8 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 UIKIT_EXTERN API_AVAILABLE(macos(10.0), ios(7.0))
 @interface NSTextContainer : NSObject <NSSecureCoding, NSTextLayoutOrientationProvider>
 
@@ -73,6 +75,7 @@
 
 @end
 
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
 
 NS_ASSUME_NONNULL_END
 
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h	2021-07-22 14:19:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h	2021-08-07 05:23:43.000000000 -0400
@@ -18,6 +18,8 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 typedef NS_OPTIONS(NSUInteger, NSTextStorageEditActions) {
     NSTextStorageEditedAttributes = (1 << 0),
     NSTextStorageEditedCharacters = (1 << 1)
@@ -126,7 +128,7 @@
 - (void)performEditingTransactionForTextStorage:(NSTextStorage *)textStorage usingBlock:(void (NS_NOESCAPE ^) (void))transaction;
 @end
 
-
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
 
 NS_ASSUME_NONNULL_END
 
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButtonConfiguration.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButtonConfiguration.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButtonConfiguration.h	2021-07-22 04:39:05.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButtonConfiguration.h	2021-08-09 03:26:14.000000000 -0400
@@ -69,6 +69,11 @@
 + (instancetype)grayButtonConfiguration;
 + (instancetype)filledButtonConfiguration;
 
++ (instancetype)borderlessButtonConfiguration;
++ (instancetype)borderedButtonConfiguration;
++ (instancetype)borderedTintedButtonConfiguration;
++ (instancetype)borderedProminentButtonConfiguration;
+
 + (instancetype)new NS_UNAVAILABLE;
 - (instancetype)init NS_UNAVAILABLE;
 
@@ -99,6 +104,7 @@
 
 /// Shows an activity indicator in place of an image. Its placement is controlled by the imagePlacement property.
 @property (nonatomic, readwrite, assign) BOOL showsActivityIndicator;
+@property (nonatomic, readwrite, copy, nullable) UIConfigurationColorTransformer activityIndicatorColorTransformer;
 
 @property (nonatomic, readwrite, copy, nullable) NSString *title;
 @property (nonatomic, readwrite, copy, nullable) NSAttributedString *attributedTitle;
@@ -110,6 +116,8 @@
 
 /// Insets from the bounds of the button to create the content region. Defaults styles provide insets based on the button size.
 @property (nonatomic, readwrite, assign) NSDirectionalEdgeInsets contentInsets;
+/// Restore the default content insets.
+- (void)setDefaultContentInsets;
 /// Defaults to Leading, only single edge values (top/leading/bottom/trailing) are supported.
 @property (nonatomic, readwrite, assign) NSDirectionalRectEdge imagePlacement;
 /// When a button has both image and text content, this value is the padding between the image and the text.
@@ -118,6 +126,8 @@
 @property (nonatomic, readwrite, assign) CGFloat titlePadding;
 /// The alignment to use for relative layout between title & subtitle.
 @property (nonatomic, readwrite, assign) UIButtonConfigurationTitleAlignment titleAlignment;
+/// If the style should automatically update when the button is selected. Default varies by style. Disable to customize selection behavior.
+@property (nonatomic, readwrite, assign) BOOL automaticallyUpdateForSelection;
 
 @end
 
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h	2021-07-22 04:39:06.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h	2021-08-09 03:23:12.000000000 -0400
@@ -296,7 +296,7 @@
  */
 @property (nonatomic) BOOL dragInteractionEnabled API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos);
 
-@property (nonatomic, readonly, nullable) UIContextMenuInteraction *contextMenuInteraction API_UNAVAILABLE(ios) API_UNAVAILABLE(watchos, tvos);
+@property (nonatomic, readonly, nullable) UIContextMenuInteraction *contextMenuInteraction API_AVAILABLE(ios(13.2)) API_UNAVAILABLE(watchos, tvos);
 
 /* Reordering cadence affects how easily reordering occurs while dragging around a reorder-capable drop destination.
  * Default is UICollectionViewReorderingCadenceImmediate.
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h	2021-07-22 04:36:38.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h	2021-08-09 03:23:04.000000000 -0400
@@ -85,6 +85,8 @@
     UICollectionLayoutSectionOrthogonalScrollingBehaviorGroupPagingCentered,
 } API_AVAILABLE(ios(13.0), tvos(13.0), watchos(6.0));
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 typedef void (^NSCollectionLayoutSectionVisibleItemsInvalidationHandler)(NSArray<id<NSCollectionLayoutVisibleItem>> *visibleItems, CGPoint contentOffset, id<NSCollectionLayoutEnvironment> layoutEnvironment);
 
 UIKIT_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0), watchos(6.0)) NS_SWIFT_UI_ACTOR
@@ -571,6 +573,8 @@
 @property(nonatomic,readonly,nullable) NSString *representedElementKind;
 @end
 
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 NS_ASSUME_NONNULL_END
 
 
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h	2021-07-22 04:36:51.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h	2021-08-07 05:23:58.000000000 -0400
@@ -6,12 +6,15 @@
 //  Copyright © 2018-2019 Apple Inc. All rights reserved.
 //
 #import <Foundation/Foundation.h>
+#import <UIKit/UIKitDefines.h>
 #import <UIKit/UICollectionView.h>
 #import <UIKit/UITableView.h>
 #import <UIKit/NSDiffableDataSourceSectionSnapshot.h>
 
 NS_ASSUME_NONNULL_BEGIN
 
+#if UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 // A NSDiffableDataSourceSnapshot represents the complete state of a UI element (e.g. UICollectionView)
 //
 //    Snapshots can be created in two ways:
@@ -84,6 +87,8 @@
 
 @end
 
+#endif // UIKIT_HAS_UIFOUNDATION_SYMBOLS
+
 typedef UICollectionViewCell * _Nullable (^UICollectionViewDiffableDataSourceCellProvider)(UICollectionView * _Nonnull collectionView, NSIndexPath * _Nonnull indexPath, id _Nonnull itemIdentifier);
 typedef UICollectionReusableView * _Nullable (^UICollectionViewDiffableDataSourceSupplementaryViewProvider)(UICollectionView* _Nonnull collectionView, NSString * _Nonnull elementKind, NSIndexPath * _Nonnull indexPath);
 
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageVariants.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageVariants.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageVariants.h	2021-07-22 14:23:12.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h	2021-07-22 14:23:01.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h	2021-08-09 03:26:07.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
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h	2021-07-22 14:35:20.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h	2021-08-07 05:23:53.000000000 -0400
@@ -27,75 +27,22 @@
 /// NSNumber value
 UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternNumber API_AVAILABLE(ios(14.0));
 
-/// Array of UIPasteboardDetectionResultLink values
-UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternLink API_AVAILABLE(ios(15.0));
-/// Array of UIPasteboardDetectionResultPhoneNumber values
-UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternPhoneNumber API_AVAILABLE(ios(15.0));
-/// Array of UIPasteboardDetectionResultEmailAddress values
-UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternEmailAddress API_AVAILABLE(ios(15.0));
-/// Array of UIPasteboardDetectionResultAddress values
-UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternAddress API_AVAILABLE(ios(15.0));
-/// Array of UIPasteboardDetectionResultCalendarEvent values
-UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternCalendarEvent API_AVAILABLE(ios(15.0));
-/// Array of UIPasteboardDetectionResultShipmentTrackingNumber values
-UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternShipmentTrackingNumber API_AVAILABLE(ios(15.0));
-/// Array of UIPasteboardDetectionResultFlightNumber values
-UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternFlightNumber API_AVAILABLE(ios(15.0));
-/// Array of UIPasteboardDetectionResultMoneyAmount values
-UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternMoneyAmount API_AVAILABLE(ios(15.0));
-
-
-UIKIT_EXTERN API_AVAILABLE(ios(15.0)) @interface UIPasteboardDetectionResult : NSObject
-@property(nonatomic, readonly) NSString *matchedString;
-@property(nonatomic, readonly) NSRange matchedRange;
-- (instancetype)init NS_UNAVAILABLE;
-@end
-
-UIKIT_EXTERN API_AVAILABLE(ios(15.0)) @interface UIPasteboardDetectionResultLink : UIPasteboardDetectionResult
-@property(nonatomic, readonly) NSURL *url;
-@end
-
-UIKIT_EXTERN API_AVAILABLE(ios(15.0)) @interface UIPasteboardDetectionResultPhoneNumber : UIPasteboardDetectionResult
-@property(nonatomic, readonly) NSString *phoneNumber;
-@property(nonatomic, readonly, nullable) NSString *label;
-@end
-
-UIKIT_EXTERN API_AVAILABLE(ios(15.0)) @interface UIPasteboardDetectionResultEmailAddress : UIPasteboardDetectionResult
-@property(nonatomic, readonly) NSString *emailAddress;
-@property(nonatomic, readonly, nullable) NSString *label;
-@end
-
-UIKIT_EXTERN API_AVAILABLE(ios(15.0)) @interface UIPasteboardDetectionResultAddress : UIPasteboardDetectionResult
-@property(nonatomic, readonly, nullable) NSString *street;
-@property(nonatomic, readonly, nullable) NSString *city;
-@property(nonatomic, readonly, nullable) NSString *state;
-@property(nonatomic, readonly, nullable) NSString *postalCode;
-@property(nonatomic, readonly, nullable) NSString *country;
-@end
-
-UIKIT_EXTERN API_AVAILABLE(ios(15.0)) @interface UIPasteboardDetectionResultCalendarEvent : UIPasteboardDetectionResult
-@property(nonatomic, readonly) BOOL allDay;
-@property(nonatomic, readonly, nullable) NSDate *startDate;
-@property(nonatomic, readonly, nullable) NSTimeZone *startTimeZone;
-@property(nonatomic, readonly, nullable) NSDate *endDate;
-@property(nonatomic, readonly, nullable) NSTimeZone *endTimeZone;
-@end
-
-UIKIT_EXTERN API_AVAILABLE(ios(15.0)) @interface UIPasteboardDetectionResultShipmentTrackingNumber : UIPasteboardDetectionResult
-@property(nonatomic, readonly) NSString *carrier;
-@property(nonatomic, readonly) NSString *trackingNumber;
-@end
-
-UIKIT_EXTERN API_AVAILABLE(ios(15.0)) @interface UIPasteboardDetectionResultFlightNumber : UIPasteboardDetectionResult
-@property(nonatomic, readonly) NSString *airline;
-@property(nonatomic, readonly) NSString *flightNumber;
-@end
-
-UIKIT_EXTERN API_AVAILABLE(ios(15.0)) @interface UIPasteboardDetectionResultMoneyAmount : UIPasteboardDetectionResult
-@property(nonatomic, readonly) NSString *currency;
-@property(nonatomic, readonly) double amount;
-@end
-
+/// Array of DDMatchLink values
+UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternLink NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(15.0));
+/// Array of DDMatchPhoneNumber values
+UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternPhoneNumber NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(15.0));
+/// Array of DDMatchEmailAddress values
+UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternEmailAddress NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(15.0));
+/// Array of DDMatchAddress values
+UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternPostalAddress NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(15.0));
+/// Array of DDMatchCalendarEvent values
+UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternCalendarEvent NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(15.0));
+/// Array of DDMatchShipmentTrackingNumber values
+UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternShipmentTrackingNumber NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(15.0));
+/// Array of DDMatchFlightNumber values
+UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternFlightNumber NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(15.0));
+/// Array of DDMatchMoneyAmount values
+UIKIT_EXTERN UIPasteboardDetectionPattern const UIPasteboardDetectionPatternMoneyAmount  NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(15.0));
 
 @class UIColor, UIImage;
 
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h	2021-07-22 14:35:17.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h	2021-08-09 03:26:13.000000000 -0400
@@ -331,7 +331,7 @@
 
 @property (nonatomic, strong, nullable) UIView *backgroundView API_AVAILABLE(ios(3.2)); // the background view will be automatically resized to track the size of the table view.  this will be placed as a subview of the table view behind all cells and headers/footers.  default may be non-nil for some devices.
 
-@property (nonatomic, readonly, nullable) UIContextMenuInteraction *contextMenuInteraction API_UNAVAILABLE(ios) API_UNAVAILABLE(watchos, tvos);
+@property (nonatomic, readonly, nullable) UIContextMenuInteraction *contextMenuInteraction API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, tvos);
 
 // Info
 
Clone this wiki locally