objc2_user_notifications/generated/
NSString_UserNotifications.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9mod private_NSStringUNUserNotificationCenterSupport {
10 pub trait Sealed {}
11}
12
13#[doc(alias = "UNUserNotificationCenterSupport")]
15pub unsafe trait NSStringUNUserNotificationCenterSupport:
16 ClassType + Sized + private_NSStringUNUserNotificationCenterSupport::Sealed
17{
18 extern_methods!(
19 #[unsafe(method(localizedUserNotificationStringForKey:arguments:))]
20 #[unsafe(method_family = none)]
21 unsafe fn localizedUserNotificationStringForKey_arguments(
22 key: &NSString,
23 arguments: Option<&NSArray>,
24 ) -> Retained<NSString>;
25 );
26}
27
28impl private_NSStringUNUserNotificationCenterSupport::Sealed for NSString {}
29unsafe impl NSStringUNUserNotificationCenterSupport for NSString {}