use objc::{msg_send, sel, sel_impl};
use rust_macios_objective_c_runtime_proc_macros::interface_impl;
use crate::{foundation::NSString, object, objective_c_runtime::traits::FromId};
use super::IUNNotificationResponse;
object! {
unsafe pub struct UNTextInputNotificationResponse;
}
impl IUNNotificationResponse for UNTextInputNotificationResponse {}
#[interface_impl(UNNotificationResponse)]
impl UNTextInputNotificationResponse {
#[property]
pub fn user_text(&self) -> NSString {
unsafe { NSString::from_id(msg_send![self.m_self(), userText]) }
}
}