Skip to content

UIKit tvOS xcode15.4 b1

Alex Soto edited this page Jul 9, 2024 · 2 revisions

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

diff -ruN /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h	2024-02-16 00:01:29
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h	2024-04-05 01:22:50
@@ -21,12 +21,6 @@
     UIPreferredPresentationStyleAttachment,
 };
 
-// workaround for
-// rdar://120810891 (NSItemProvider canLoadObjectOfClass disagreement with loadObjectOfClass)
-@interface NSItemProvider (NSItemProviderTypeAvailability)
-- (NSArray<NSString *> *)_availableTypes API_AVAILABLE(ios(17.3));
-@end
-
 @interface NSItemProvider (UIKitAdditions)
 
 @property (nonatomic, copy, nullable) NSData *teamData API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos, tvos);
diff -ruN /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h	2024-02-16 00:01:26
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h	2024-04-05 01:22:47
@@ -15,11 +15,13 @@
 UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
 @interface UIFeedbackGenerator : NSObject
 
+
 /// informs self that it will likely receive events soon, so that it can ensure minimal latency for any feedback generated
 /// safe to call more than once before the generator receives an event, if events are still imminently possible
 - (void)prepare;
 
 @end
+
 
 NS_HEADER_AUDIT_END(nullability, sendability)
 
diff -ruN /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h	2024-02-16 00:01:24
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h	2024-04-05 01:22:45
@@ -38,6 +38,7 @@
 @property (nonatomic, readonly) CGFloat altitudeAngle API_AVAILABLE(ios(16.4)) API_UNAVAILABLE(watchos, tvos);
 
 
+
 @end
 
 #else
diff -ruN /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h	2024-02-16 00:01:22
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h	2024-04-05 01:22:42
@@ -32,6 +32,7 @@
 /// call when your UI element impacts something else with a specific intensity [0.0, 1.0]
 - (void)impactOccurredWithIntensity:(CGFloat)intensity API_AVAILABLE(ios(13.0));
 
+
 @end
 
 NS_HEADER_AUDIT_END(nullability, sendability)
diff -ruN /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h	2024-02-16 00:01:25
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h	2024-04-05 01:22:45
@@ -9,8 +9,10 @@
 #import <UIKit/UIInteraction.h>
 #import <UIKit/UIKitDefines.h>
 
-#pragma mark - Preferred Actions
+@protocol UIPencilInteractionDelegate;
 
+#pragma mark - Defines
+
 NS_HEADER_AUDIT_BEGIN(nullability, sendability)
 
 /// Preferred actions available to the user in Settings.
@@ -33,10 +35,9 @@
 
 } API_AVAILABLE(ios(12.1)) API_UNAVAILABLE(watchos, tvos);
 
+
 #pragma mark - Interaction
 
-@protocol UIPencilInteractionDelegate;
-
 UIKIT_EXTERN API_AVAILABLE(ios(12.1)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_UI_ACTOR
 @interface UIPencilInteraction : NSObject <UIInteraction>
 
@@ -47,12 +48,13 @@
 @property (class, nonatomic, readonly) BOOL prefersPencilOnlyDrawing;
 
 /// The interaction's delegate
-@property (nonatomic, weak, nullable) id <UIPencilInteractionDelegate> delegate;
+@property (nonatomic, weak, nullable) id<UIPencilInteractionDelegate> delegate;
 
 /// Whether the interaction is enabled or not
 @property (nonatomic, getter=isEnabled) BOOL enabled;
 
 @end
+
 
 #pragma mark - Interaction Delegate
 
diff -ruN /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h	2024-02-16 00:01:23
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h	2024-04-05 01:22:43
@@ -17,6 +17,7 @@
 /// call when the selection changes (not on initial selection)
 - (void)selectionChanged;
 
+
 @end
 
 NS_HEADER_AUDIT_END(nullability, sendability)