objc2_user_notifications/generated/
NSString_UserNotifications.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9mod private_NSStringUNUserNotificationCenterSupport {
10    pub trait Sealed {}
11}
12
13/// Category "UNUserNotificationCenterSupport" on [`NSString`].
14#[doc(alias = "UNUserNotificationCenterSupport")]
15pub unsafe trait NSStringUNUserNotificationCenterSupport:
16    ClassType + Sized + private_NSStringUNUserNotificationCenterSupport::Sealed
17{
18    extern_methods!(
19        /// # Safety
20        ///
21        /// `arguments` generic should be of the correct type.
22        #[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 {}