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:))]
23 #[unsafe(method_family = none)]
24 unsafe fn localizedUserNotificationStringForKey_arguments(
25 key: &NSString,
26 arguments: Option<&NSArray>,
27 ) -> Retained<NSString>;
28 );
29}
30
31impl private_NSStringUNUserNotificationCenterSupport::Sealed for NSString {}
32unsafe impl NSStringUNUserNotificationCenterSupport for NSString {}