objc2_ui_kit/generated/
UITextPasteConfigurationSupporting.rs1use core::ffi::*;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_protocol!(
9 #[cfg(feature = "UIPasteConfigurationSupporting")]
11 pub unsafe trait UITextPasteConfigurationSupporting:
12 UIPasteConfigurationSupporting + MainThreadOnly
13 {
14 #[cfg(feature = "UITextPasteDelegate")]
15 #[unsafe(method(pasteDelegate))]
16 #[unsafe(method_family = none)]
17 unsafe fn pasteDelegate(&self)
18 -> Option<Retained<ProtocolObject<dyn UITextPasteDelegate>>>;
19
20 #[cfg(feature = "UITextPasteDelegate")]
21 #[unsafe(method(setPasteDelegate:))]
24 #[unsafe(method_family = none)]
25 unsafe fn setPasteDelegate(
26 &self,
27 paste_delegate: Option<&ProtocolObject<dyn UITextPasteDelegate>>,
28 );
29 }
30);