objc2-ui-kit 0.3.2

Bindings to the UIKit framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ffi::*;
use objc2::__framework_prelude::*;

use crate::*;

extern_protocol!(
    /// [Apple's documentation](https://developer.apple.com/documentation/uikit/uitextpasteconfigurationsupporting?language=objc)
    #[cfg(feature = "UIPasteConfigurationSupporting")]
    pub unsafe trait UITextPasteConfigurationSupporting:
        UIPasteConfigurationSupporting + MainThreadOnly
    {
        #[cfg(feature = "UITextPasteDelegate")]
        #[unsafe(method(pasteDelegate))]
        #[unsafe(method_family = none)]
        fn pasteDelegate(&self) -> Option<Retained<ProtocolObject<dyn UITextPasteDelegate>>>;

        #[cfg(feature = "UITextPasteDelegate")]
        /// Setter for [`pasteDelegate`][Self::pasteDelegate].
        ///
        /// This is a [weak property][objc2::topics::weak_property].
        #[unsafe(method(setPasteDelegate:))]
        #[unsafe(method_family = none)]
        fn setPasteDelegate(
            &self,
            paste_delegate: Option<&ProtocolObject<dyn UITextPasteDelegate>>,
        );
    }
);