Skip to content

UIKit tvOS xcode15.0 b7

Manuel de la Pena edited this page Oct 20, 2023 · 2 revisions

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

diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h	2023-07-19 06:05:16
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h	2023-08-16 03:27:31
@@ -396,10 +396,10 @@
 // If a nib is registered, it must contain exactly 1 top level object which is a UICollectionViewCell.
 // If a class is registered, it will be instantiated via alloc/initWithFrame:
 - (void)registerClass:(nullable Class)cellClass forCellWithReuseIdentifier:(NSString *)identifier;
-- (void)registerNib:(nullable UINib *)nib forCellWithReuseIdentifier:(NSString *)identifier API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (void)registerNib:(nullable UINib *)nib forCellWithReuseIdentifier:(NSString *)identifier API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 
 - (void)registerClass:(nullable Class)viewClass forSupplementaryViewOfKind:(NSString *)elementKind withReuseIdentifier:(NSString *)identifier;
-- (void)registerNib:(nullable UINib *)nib forSupplementaryViewOfKind:(NSString *)kind withReuseIdentifier:(NSString *)identifier API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (void)registerNib:(nullable UINib *)nib forSupplementaryViewOfKind:(NSString *)kind withReuseIdentifier:(NSString *)identifier API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 
 - (__kindof UICollectionViewCell *)dequeueReusableCellWithReuseIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath;
 - (__kindof UICollectionReusableView *)dequeueReusableSupplementaryViewOfKind:(NSString *)elementKind withReuseIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath;
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewItemRegistration.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewItemRegistration.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewItemRegistration.h	2023-07-30 14:31:08
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewItemRegistration.h	2023-08-08 04:57:24
@@ -19,7 +19,7 @@
 @interface UICollectionViewCellRegistration : NSObject
 
 + (instancetype)registrationWithCellClass:(Class)cellClass configurationHandler:(UICollectionViewCellRegistrationConfigurationHandler)configurationHandler;
-+ (instancetype)registrationWithCellNib:(UINib*)cellNib configurationHandler:(UICollectionViewCellRegistrationConfigurationHandler)configurationHandler API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
++ (instancetype)registrationWithCellNib:(UINib*)cellNib configurationHandler:(UICollectionViewCellRegistrationConfigurationHandler)configurationHandler API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 
 @property(nonatomic,readonly,nullable) Class cellClass;
 @property(nonatomic,readonly,nullable) UINib *cellNib;
@@ -35,7 +35,7 @@
 @interface UICollectionViewSupplementaryRegistration : NSObject
 
 + (instancetype)registrationWithSupplementaryClass:(Class)supplementaryClass elementKind:(NSString*)elementKind  configurationHandler:(UICollectionViewSupplementaryRegistrationConfigurationHandler)configurationHandler;
-+ (instancetype)registrationWithSupplementaryNib:(UINib*)supplementaryNib elementKind:(NSString*)elementKind configurationHandler:(UICollectionViewSupplementaryRegistrationConfigurationHandler)configurationHandler API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
++ (instancetype)registrationWithSupplementaryNib:(UINib*)supplementaryNib elementKind:(NSString*)elementKind configurationHandler:(UICollectionViewSupplementaryRegistrationConfigurationHandler)configurationHandler API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 
 @property(nonatomic,readonly,nullable) Class supplementaryClass;
 @property(nonatomic,readonly,nullable) UINib *supplementaryNib;
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h	2023-08-04 01:02:11
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h	2023-08-08 04:57:24
@@ -102,7 +102,7 @@
 - (void)invalidateLayoutWithContext:(UICollectionViewLayoutInvalidationContext *)context API_AVAILABLE(ios(7.0));
 
 - (void)registerClass:(nullable Class)viewClass forDecorationViewOfKind:(NSString *)elementKind;
-- (void)registerNib:(nullable UINib *)nib forDecorationViewOfKind:(NSString *)elementKind API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (void)registerNib:(nullable UINib *)nib forDecorationViewOfKind:(NSString *)elementKind API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 
 @end
 
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2023-08-04 01:18:10
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes	2023-08-15 18:31:51
@@ -1262,8 +1262,6 @@
     - Selector: 'preferencesSystemFrame:'
       MethodKind: Class
       SwiftPrivate: true
-- Name: UIWindowSceneGeometryPreferencesReality
-  SwiftName: UIWindowSceneGeometryPreferences.Reality
 - Name: UIWindowSceneGeometryPreferencesVision
   SwiftName: UIWindowSceneGeometryPreferences.Vision
 - Name: UIWindowSceneGeometryPreferences
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2023-08-04 01:01:49
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h	2023-08-08 03:29:08
@@ -304,8 +304,10 @@
 #import <UIKit/UIWindowSceneGeometryPreferences.h>
 #import <UIKit/UIWindowSceneGeometryPreferencesMac.h>
 #import <UIKit/UIWindowSceneGeometryPreferencesIOS.h>
-#import <UIKit/UIWindowSceneGeometryPreferencesReality.h>
 #import <UIKit/UIWindowSceneGeometryPreferencesVision.h>
+#if __has_include(<UIKit/UIWindowSceneGeometryPreferencesReality.h>)
+#import <UIKit/UIWindowSceneGeometryPreferencesReality.h>
+#endif
 #import <UIKit/UIWindowScenePlacement.h>
 #import <UIKit/UIWindowSceneStandardPlacement.h>
 #import <UIKit/UIWindowSceneProminentPlacement.h>
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h	2023-07-30 14:31:03
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h	2023-08-08 04:57:19
@@ -12,7 +12,7 @@
 
 NS_HEADER_AUDIT_BEGIN(nullability, sendability)
     
-UIKIT_EXTERN API_AVAILABLE(ios(4.0)) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0))
+UIKIT_EXTERN API_AVAILABLE(ios(4.0)) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
 @interface UINib : NSObject
 
 // If the bundle parameter is nil, the main bundle is used.
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h	2023-07-30 14:31:03
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h	2023-08-08 04:57:19
@@ -16,12 +16,12 @@
 UIKIT_EXTERN UINibOptionsKey const UINibExternalObjects API_AVAILABLE(ios(3.0));
 
 @interface NSBundle(UINibLoadingAdditions)
-- (nullable NSArray *)loadNibNamed:(NSString *)name owner:(nullable id)owner options:(nullable NSDictionary<UINibOptionsKey, id> *)options API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (nullable NSArray *)loadNibNamed:(NSString *)name owner:(nullable id)owner options:(nullable NSDictionary<UINibOptionsKey, id> *)options API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 @end
 
 @interface NSObject(UINibLoadingAdditions)
-- (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
-- (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (void)awakeFromNib NS_REQUIRES_SUPER API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
+- (void)prepareForInterfaceBuilder API_AVAILABLE(ios(8.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 @end
 
 UIKIT_EXTERN NSString * const UINibProxiedObjectsKey API_DEPRECATED("", ios(2.0, 3.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos);
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h	2023-07-30 14:31:07
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h	2023-08-08 04:57:22
@@ -16,6 +16,12 @@
     UISceneActivationStateBackground
 } API_AVAILABLE(ios(13.0));
 
+typedef NS_ENUM(NSInteger, UISceneCaptureState) {
+    UISceneCaptureStateUnspecified = -1,
+    UISceneCaptureStateInactive = 0,
+    UISceneCaptureStateActive = 1
+} API_AVAILABLE(ios(17.0), tvos(17.0), visionos(1.0));
+
 #pragma mark - UISceneSessionRole
 typedef NSString * UISceneSessionRole NS_TYPED_ENUM API_AVAILABLE(ios(13.0));
 
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h	2023-07-30 14:31:02
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h	2023-08-08 04:57:18
@@ -15,7 +15,7 @@
 
 typedef __kindof UIViewController *_Nullable (^UIStoryboardViewControllerCreator)(NSCoder *coder);
 
-UIKIT_EXTERN API_AVAILABLE(ios(5.0)) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0))
+UIKIT_EXTERN API_AVAILABLE(ios(5.0)) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
 @interface UIStoryboard : NSObject {
 }
 
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h	2023-07-30 14:31:09
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h	2023-08-08 04:57:24
@@ -13,7 +13,7 @@
 
 @class UIViewController;
 
-UIKIT_EXTERN API_AVAILABLE(ios(5.0)) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0))
+UIKIT_EXTERN API_AVAILABLE(ios(5.0)) NS_SWIFT_UI_ACTOR API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0))
 @interface UIStoryboardSegue : NSObject
 
 // Convenience constructor for returning a segue that performs a handler block in its -perform method.
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h	2023-08-04 01:06:38
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h	2023-08-08 05:05:59
@@ -475,10 +475,10 @@
 // Beginning in iOS 6, clients can register a nib or class for each cell.
 // If all reuse identifiers are registered, use the newer -dequeueReusableCellWithIdentifier:forIndexPath: to guarantee that a cell instance is returned.
 // Instances returned from the new dequeue method will also be properly sized when they are returned.
-- (void)registerNib:(nullable UINib *)nib forCellReuseIdentifier:(NSString *)identifier API_AVAILABLE(ios(5.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (void)registerNib:(nullable UINib *)nib forCellReuseIdentifier:(NSString *)identifier API_AVAILABLE(ios(5.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 - (void)registerClass:(nullable Class)cellClass forCellReuseIdentifier:(NSString *)identifier API_AVAILABLE(ios(6.0));
 
-- (void)registerNib:(nullable UINib *)nib forHeaderFooterViewReuseIdentifier:(NSString *)identifier API_AVAILABLE(ios(6.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (void)registerNib:(nullable UINib *)nib forHeaderFooterViewReuseIdentifier:(NSString *)identifier API_AVAILABLE(ios(6.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 - (void)registerClass:(nullable Class)aClass forHeaderFooterViewReuseIdentifier:(NSString *)identifier API_AVAILABLE(ios(6.0));
 
 // Focus
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITrait.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITrait.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITrait.h	2023-07-19 06:05:14
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITrait.h	2023-08-08 04:57:19
@@ -119,6 +119,9 @@
 @interface UITraitTypesettingLanguage : NSObject <UIObjectTraitDefinition> // NSString
 @end
 
+UIKIT_EXTERN API_AVAILABLE(ios(17.0), tvos(17.0), visionos(1.0)) NS_REFINED_FOR_SWIFT
+@interface UITraitSceneCaptureState : NSObject <UINSIntegerTraitDefinition> // UISceneCaptureState
+@end
 
 NS_HEADER_AUDIT_END(nullability, sendability)
 
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h	2023-07-19 06:05:15
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h	2023-08-16 03:47:28
@@ -11,6 +11,7 @@
 #import <UIKit/UIInterface.h>
 #import <UIKit/UITouch.h>
 #import <UIKit/UIContentSizeCategory.h>
+#import <UIKit/UISceneDefinitions.h>
 
 /*! A trait collection encapsulates the system traits of an interface's environment. */
 NS_HEADER_AUDIT_BEGIN(nullability, sendability)
@@ -87,6 +88,12 @@
 
 @property (nonatomic, readonly) NSString *typesettingLanguage API_AVAILABLE(ios(17.0), tvos(17.0), watchos(10.0));
 
+/// Construct a new trait collection with the given scene capture state.
++ (UITraitCollection *)traitCollectionWithSceneCaptureState:(UISceneCaptureState)sceneCaptureState API_AVAILABLE(ios(17.0), tvos(17.0), visionos(1.0));
+
+/// Scene capture state represents whether a scene is currently being mirrored or recorded.
+@property (nonatomic, readonly) UISceneCaptureState sceneCaptureState API_AVAILABLE(ios(17.0), tvos(17.0), visionos(1.0));
+
 @end
 
 
@@ -117,6 +124,7 @@
 @property (nonatomic) UIUserInterfaceActiveAppearance activeAppearance;
 @property (nonatomic) UINSToolbarItemPresentationSize toolbarItemPresentationSize API_AVAILABLE(macCatalyst(17.0));
 @property (nonatomic) UIImageDynamicRange imageDynamicRange;
+@property (nonatomic) UISceneCaptureState sceneCaptureState API_AVAILABLE(ios(17.0), tvos(17.0), visionos(1.0));
 @property (nonatomic, copy) NSString *typesettingLanguage;
 
 @end
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h	2023-07-30 14:23:47
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h	2023-08-08 04:57:25
@@ -123,35 +123,35 @@
 - (void)viewDidLoad; // Called after the view has been loaded. For view controllers created in code, this is after -loadView. For view controllers unarchived from a nib, this is after the view is set.
 @property(nonatomic, readonly, getter=isViewLoaded) BOOL viewLoaded API_AVAILABLE(ios(3.0));
 
-@property(nullable, nonatomic, readonly, copy) NSString *nibName API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));     // The name of the nib to be loaded to instantiate the view.
-@property(nullable, nonatomic, readonly, strong) NSBundle *nibBundle API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0)); // The bundle from which to load the nib.
-@property(nullable, nonatomic, readonly, strong) UIStoryboard *storyboard API_AVAILABLE(ios(5.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+@property(nullable, nonatomic, readonly, copy) NSString *nibName API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));     // The name of the nib to be loaded to instantiate the view.
+@property(nullable, nonatomic, readonly, strong) NSBundle *nibBundle API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)); // The bundle from which to load the nib.
+@property(nullable, nonatomic, readonly, strong) UIStoryboard *storyboard API_AVAILABLE(ios(5.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 
-- (void)performSegueWithIdentifier:(NSString *)identifier sender:(nullable id)sender API_AVAILABLE(ios(5.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
-- (BOOL)shouldPerformSegueWithIdentifier:(NSString *)identifier sender:(nullable id)sender API_AVAILABLE(ios(6.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0)); // Invoked immediately prior to initiating a segue. Return NO to prevent the segue from firing. The default implementation returns YES. This method is not invoked when -performSegueWithIdentifier:sender: is used.
-- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(nullable id)sender API_AVAILABLE(ios(5.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (void)performSegueWithIdentifier:(NSString *)identifier sender:(nullable id)sender API_AVAILABLE(ios(5.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
+- (BOOL)shouldPerformSegueWithIdentifier:(NSString *)identifier sender:(nullable id)sender API_AVAILABLE(ios(6.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)); // Invoked immediately prior to initiating a segue. Return NO to prevent the segue from firing. The default implementation returns YES. This method is not invoked when -performSegueWithIdentifier:sender: is used.
+- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(nullable id)sender API_AVAILABLE(ios(5.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 
 // View controllers will receive this message during segue unwinding. The default implementation returns the result of -respondsToSelector: - controllers can override this to perform any ancillary checks, if necessary.
-- (BOOL)canPerformUnwindSegueAction:(SEL)action fromViewController:(UIViewController *)fromViewController sender:(nullable id)sender API_AVAILABLE(ios(13.0), tvos(13.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (BOOL)canPerformUnwindSegueAction:(SEL)action fromViewController:(UIViewController *)fromViewController sender:(nullable id)sender API_AVAILABLE(ios(13.0), tvos(13.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 - (BOOL)canPerformUnwindSegueAction:(SEL)action fromViewController:(UIViewController *)fromViewController withSender:(id)sender API_DEPRECATED_WITH_REPLACEMENT("canPerformUnwindSegueAction:fromViewController:sender:", ios(6.0, 13.0), tvos(9.0, 13.0)) API_UNAVAILABLE(visionos);
 
 // Returns a subset of the receiver's childViewControllers in the order they should be searched for an unwind destination.
 // The default implementation first sends itself -childViewControllerContainingSegueSource:, then returns a copy of its childViewControllers array excluding that object. A custom container view controller can override this method to affect the order in which its children are searched, or to modify the result of the default implementation.
 // For compatibility, if a view controller overrides the deprecated -viewControllerForUnwindSegueAction:fromViewController:sender: method, but does not override this method, it will receive the deprecated method instead of this method.
 // To affect this view controller's eligibility as an unwind destination, override -canPerformUnwindSegueAction:fromViewController:sender: instead.
-- (NSArray<UIViewController *> *)allowedChildViewControllersForUnwindingFromSource:(UIStoryboardUnwindSegueSource *)source API_AVAILABLE(ios(9.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (NSArray<UIViewController *> *)allowedChildViewControllersForUnwindingFromSource:(UIStoryboardUnwindSegueSource *)source API_AVAILABLE(ios(9.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 
 // Returns the child view controller that contains the provided segue source.
 // Custom container view controllers should call this method from their implementation of -allowedChildViewControllersForUnwindingFromSource: to exclude the result from the returned array, as well as to determine the order of the returned array's contents.
 // Do not try to re-implement or override this method; it takes special care to handle situations such as unwinding from a modally-presented view controller.
-- (nullable UIViewController *)childViewControllerContainingSegueSource:(UIStoryboardUnwindSegueSource *)source API_AVAILABLE(ios(9.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (nullable UIViewController *)childViewControllerContainingSegueSource:(UIStoryboardUnwindSegueSource *)source API_AVAILABLE(ios(9.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 
 // Deprecated. Returns a direct child of the receiver that responds YES to -canPerformUnwindSegueAction:fromViewController:sender:, or self if no children respond YES but the receiver itself does. If this method has been overridden, UIViewController's implementation does not consult child view controllers at all, and skips straight to sending -canPerformUnwindSegueAction:... to self.
 // Applications targeting iOS 9 or later should not override this method. Applications can instead override -allowedChildViewControllersForUnwindingFromSource: to guide UIKit’s search for a descendant view controller that returns YES from -canPerformUnwindSegueAction:fromViewController:sender:.
 - (nullable UIViewController *)viewControllerForUnwindSegueAction:(SEL)action fromViewController:(UIViewController *)fromViewController withSender:(nullable id)sender API_DEPRECATED("", ios(6.0, 9.0)) API_UNAVAILABLE(visionos);
 
 // Custom container view controllers should override this method to modify themselves as part of an ongoing unwind segue. The subsequentVC is the parent, child, or presented view controller closest to the receiver in the direction of the segue's destinationViewController. For example, UINavigationController's implementation of this method will pop any necessary view controllers to reveal the subsequentVC.
-- (void)unwindForSegue:(UIStoryboardSegue *)unwindSegue towardsViewController:(UIViewController *)subsequentVC API_AVAILABLE(ios(9.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of xrOS.", visionos(1.0, 1.0));
+- (void)unwindForSegue:(UIStoryboardSegue *)unwindSegue towardsViewController:(UIViewController *)subsequentVC API_AVAILABLE(ios(9.0)) API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0));
 
 // Deprecated. This method is only used for unwind segues whose destination view controller has been returned by an override of the deprecated method -viewControllerForUnwindSegueAction:fromViewController:withSender:. In that case, UIKit will choose a view controller to act as the “executor” of the unwind. If the destination view controller is being modally presented, the destination view controller itself is the executor. Otherwise, the destination view controller’s parent view controller is the executor. If the executor overrides this method, UIKit will ignore the Custom Class specified in Interface Builder and instead call this method on the executor to obtain a segue that can perform the unwind.
 // The returned segue object must be able to perform all steps necessary to unwind, including dismissing any intermediate modal presentations or popping any necessary navigation items.
@@ -304,10 +304,10 @@
 @property (nonatomic) CGSize preferredContentSize API_AVAILABLE(ios(7.0));
 
 // These methods control the attributes of the status bar when this view controller is shown. They can be overridden in view controller subclasses to return the desired status bar attributes.
-@property(nonatomic, readonly) UIStatusBarStyle preferredStatusBarStyle API_AVAILABLE(ios(7.0)) API_DEPRECATED("Has no effect on xrOS", visionos(1.0, 1.0)) API_UNAVAILABLE(tvos); // Defaults to UIStatusBarStyleDefault
-@property(nonatomic, readonly) BOOL prefersStatusBarHidden API_AVAILABLE(ios(7.0)) API_DEPRECATED("Has no effect on xrOS", visionos(1.0, 1.0)) API_UNAVAILABLE(tvos); // Defaults to NO
+@property(nonatomic, readonly) UIStatusBarStyle preferredStatusBarStyle API_AVAILABLE(ios(7.0)) API_DEPRECATED("Has no effect on visionOS", visionos(1.0, 1.0)) API_UNAVAILABLE(tvos); // Defaults to UIStatusBarStyleDefault
+@property(nonatomic, readonly) BOOL prefersStatusBarHidden API_AVAILABLE(ios(7.0)) API_DEPRECATED("Has no effect on visionOS", visionos(1.0, 1.0)) API_UNAVAILABLE(tvos); // Defaults to NO
 // Override to return the type of animation that should be used for status bar changes for this view controller. This currently only affects changes to prefersStatusBarHidden.
-@property(nonatomic, readonly) UIStatusBarAnimation preferredStatusBarUpdateAnimation API_AVAILABLE(ios(7.0)) API_DEPRECATED("Has no effect on xrOS", visionos(1.0, 1.0)) API_UNAVAILABLE(tvos); // Defaults to UIStatusBarAnimationFade
+@property(nonatomic, readonly) UIStatusBarAnimation preferredStatusBarUpdateAnimation API_AVAILABLE(ios(7.0)) API_DEPRECATED("Has no effect on visionOS", visionos(1.0, 1.0)) API_UNAVAILABLE(tvos); // Defaults to UIStatusBarAnimationFade
 
 // This should be called whenever the return values for the view controller's status bar attributes have changed. If it is called from within an animation block, the changes will be animated along with the rest of the animation block.
 - (void)setNeedsStatusBarAppearanceUpdate API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(tvos, visionos);
@@ -446,8 +446,8 @@
 - (void)endAppearanceTransition __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_5_0);
 
 // Override to return a child view controller or nil. If non-nil, that view controller's status bar appearance attributes will be used. If nil, self is used. Whenever the return values from these methods change, -setNeedsStatusBarAppearanceUpdate should be called.
-@property(nonatomic, readonly, nullable) UIViewController *childViewControllerForStatusBarStyle API_AVAILABLE(ios(7.0)) API_DEPRECATED("Has no effect on xrOS", visionos(1.0, 1.0)) API_UNAVAILABLE(tvos);
-@property(nonatomic, readonly, nullable) UIViewController *childViewControllerForStatusBarHidden API_AVAILABLE(ios(7.0)) API_DEPRECATED("Has no effect on xrOS", visionos(1.0, 1.0)) API_UNAVAILABLE(tvos);
+@property(nonatomic, readonly, nullable) UIViewController *childViewControllerForStatusBarStyle API_AVAILABLE(ios(7.0)) API_DEPRECATED("Has no effect on visionOS", visionos(1.0, 1.0)) API_UNAVAILABLE(tvos);
+@property(nonatomic, readonly, nullable) UIViewController *childViewControllerForStatusBarHidden API_AVAILABLE(ios(7.0)) API_DEPRECATED("Has no effect on visionOS", visionos(1.0, 1.0)) API_UNAVAILABLE(tvos);
 
 // Call to modify the trait collection for child view controllers.
 - (void)setOverrideTraitCollection:(nullable UITraitCollection *)collection forChildViewController:(UIViewController *)childViewController API_DEPRECATED("Use the traitOverrides property on the child view controller instead", ios(8.0, 17.0), visionos(1.0, 1.0));
diff -ruN /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferencesReality.h /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferencesReality.h
--- /Applications/Xcode_15.0.0-beta6.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferencesReality.h	2023-07-30 14:31:00
+++ /Applications/Xcode_15.0.0-beta7.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferencesReality.h	1969-12-31 19:00:00
@@ -1,45 +0,0 @@
-#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UIWindowSceneGeometryPreferencesReality.h>)
-//
-//  UIWindowSceneGeometryPreferencesReality.h
-//  UIKit
-//
-//  Copyright © 2023 Apple Inc. All rights reserved.
-//
-
-#import <UIKit/UIWindowSceneGeometryPreferencesVision.h>
-#import <UIKit/UIWindowSceneGeometry.h>
-
-NS_HEADER_AUDIT_BEGIN(nullability, sendability)
-
-UIKIT_EXTERN API_DEPRECATED_WITH_REPLACEMENT("UIWindowSceneGeometryPreferencesVision", visionos(1.0, 1.0)) API_UNAVAILABLE(ios, tvos, macos, watchos)
-@interface UIWindowSceneGeometryPreferencesReality : UIWindowSceneGeometryPreferences
-
-- (instancetype)init NS_REFINED_FOR_SWIFT;
-
-/// Creates a geometry preference with a specific size (specifying UIProposedSceneSizeNoPreference for any dimension of size, will specify no preference, keeping that dimension the same if possible)
-- (instancetype)initWithSize:(CGSize)size NS_REFINED_FOR_SWIFT;
-
-/// The preferred size, minimumSize, maximumSize, and resizingRestrictions. Any dimension set to UIProposedSceneSizeNoPreference will retain the existing values.
-- (instancetype)initWithSize:(CGSize)size minimumSize:(CGSize)minimumSize maximumSize:(CGSize)maximumSize resizingRestrictions:(UIWindowSceneResizingRestrictions)resizingRestrictions NS_REFINED_FOR_SWIFT;
-
-/// Create a new preference using the existing effective geometry
-- (instancetype)initWithCurrentEffectiveGeometry:(UIWindowSceneGeometry *)effectiveGeometry;
-
-/// The preferred system size. Use UIProposedSceneSizeNoPreference to use existing value
-@property (nonatomic, assign) CGSize size NS_REFINED_FOR_SWIFT;
-
-/// The preferred minimum size. UIProposedSceneSizeNoPreference to use default value
-@property (nonatomic, assign) CGSize minimumSize NS_REFINED_FOR_SWIFT;
-
-/// The preferred maximum size. UIProposedSceneSizeNoPreference for a given to use default value
-@property (nonatomic, assign) CGSize maximumSize NS_REFINED_FOR_SWIFT;
-
-/// The user resizable restrictions on the window scene
-@property (nonatomic, assign) UIWindowSceneResizingRestrictions resizingRestrictions NS_REFINED_FOR_SWIFT;
-@end
-
-NS_HEADER_AUDIT_END(nullability, sendability)
-
-#else
-#import <UIKitCore/UIWindowSceneGeometryPreferencesReality.h>
-#endif
Clone this wiki locally