-
Notifications
You must be signed in to change notification settings - Fork 518
UserNotificationsUI macOS xcode13.0 rc
Alex Soto edited this page Sep 14, 2021
·
1 revision
#UserNotificationsUI.framework
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h 2021-08-07 05:20:14.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/UserNotificationsUI.framework/Headers/UNNotificationContentExtension.h 2021-08-03 21:48:50.000000000 -0400
@@ -7,10 +7,10 @@
#import <TargetConditionals.h>
-#if TARGET_OS_OSX
-#import <AppKit/AppKit.h>
-#else
+#if TARGET_OS_IOS
#import <UIKit/UIKit.h>
+#else
+#import <AppKit/AppKit.h>
#endif
@class UNNotification;
@@ -21,17 +21,17 @@
UNNotificationContentExtensionMediaPlayPauseButtonTypeNone,
UNNotificationContentExtensionMediaPlayPauseButtonTypeDefault,
UNNotificationContentExtensionMediaPlayPauseButtonTypeOverlay,
-} API_AVAILABLE(ios(10.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos);
+} __API_AVAILABLE(ios(10.0), macCatalyst(14.0), macos(11.0)) __API_UNAVAILABLE(tvos, watchos);
typedef NS_ENUM(NSUInteger, UNNotificationContentExtensionResponseOption) {
UNNotificationContentExtensionResponseOptionDoNotDismiss,
UNNotificationContentExtensionResponseOptionDismiss,
UNNotificationContentExtensionResponseOptionDismissAndForwardAction,
-} API_AVAILABLE(ios(10.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos);
+} __API_AVAILABLE(ios(10.0), macCatalyst(14.0), macos(11.0)) __API_UNAVAILABLE(tvos, watchos);
NS_ASSUME_NONNULL_BEGIN
-API_AVAILABLE(ios(10.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos)
+__API_AVAILABLE(ios(10.0), macCatalyst(14.0), macos(11.0)) __API_UNAVAILABLE(tvos, watchos)
@protocol UNNotificationContentExtension <NSObject>
// This will be called to send the notification to be displayed by
@@ -59,10 +59,10 @@
@property (nonatomic, readonly, assign) CGRect mediaPlayPauseButtonFrame;
// The tint color to use for the button.
-#if TARGET_OS_OSX
-@property (nonatomic, readonly, copy) NSColor *mediaPlayPauseButtonTintColor;
-#else
+#if TARGET_OS_IOS
@property (nonatomic, readonly, copy) UIColor *mediaPlayPauseButtonTintColor;
+#else
+@property (nonatomic, readonly, copy) NSColor *mediaPlayPauseButtonTintColor;
#endif
// Called when the user taps the play or pause button.
@@ -74,17 +74,17 @@
@interface NSExtensionContext (UNNotificationContentExtension)
-@property (nonatomic, copy) NSArray <UNNotificationAction *> *notificationActions API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos);
+@property (nonatomic, copy) NSArray <UNNotificationAction *> *notificationActions __API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) __API_UNAVAILABLE(tvos, watchos);
// Opens the corresponding applicaton and delivers it the default notification action response
-- (void)performNotificationDefaultAction API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos);
+- (void)performNotificationDefaultAction __API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) __API_UNAVAILABLE(tvos, watchos);
-- (void)dismissNotificationContentExtension API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos);
+- (void)dismissNotificationContentExtension __API_AVAILABLE(ios(12.0), macCatalyst(14.0), macos(11.0)) __API_UNAVAILABLE(tvos, watchos);
// Call these methods when the playback state changes in the content
// extension to update the state of the media control button.
-- (void)mediaPlayingStarted API_AVAILABLE(ios(10.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos);
-- (void)mediaPlayingPaused API_AVAILABLE(ios(10.0), macCatalyst(14.0), macos(11.0)) API_UNAVAILABLE(watchos, tvos);
+- (void)mediaPlayingStarted __API_AVAILABLE(ios(10.0), macCatalyst(14.0), macos(11.0)) __API_UNAVAILABLE(tvos, watchos);
+- (void)mediaPlayingPaused __API_AVAILABLE(ios(10.0), macCatalyst(14.0), macos(11.0)) __API_UNAVAILABLE(tvos, watchos);
@end
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status