Skip to content

UIKit iOS 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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h	2024-02-15 23:59:27
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h	2024-04-10 23:45:45
@@ -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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h	2024-02-15 23:59:23
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h	2024-04-10 23:45:41
@@ -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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h	2024-02-15 23:59:22
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h	2024-04-10 23:45:40
@@ -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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h	2024-02-15 23:59:20
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h	2024-04-10 23:45:37
@@ -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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h	2024-02-15 23:59:22
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h	2024-04-10 23:45:40
@@ -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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h	2024-02-15 23:59:20
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h	2024-04-10 23:45:37
@@ -17,6 +17,7 @@
 /// call when the selection changes (not on initial selection)
 - (void)selectionChanged;
 
+
 @end
 
 NS_HEADER_AUDIT_END(nullability, sendability)
Clone this wiki locally