use core::ffi::*;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_protocol!(
pub unsafe trait UIAccessibilityIdentification:
NSObjectProtocol + MainThreadOnly
{
#[unsafe(method(accessibilityIdentifier))]
#[unsafe(method_family = none)]
fn accessibilityIdentifier(&self) -> Option<Retained<NSString>>;
#[unsafe(method(setAccessibilityIdentifier:))]
#[unsafe(method_family = none)]
fn setAccessibilityIdentifier(&self, accessibility_identifier: Option<&NSString>);
}
);
#[cfg(all(feature = "UIResponder", feature = "UIView"))]
impl UIView {
extern_methods!();
}
#[cfg(all(feature = "UIResponder", feature = "UIView"))]
extern_conformance!(
unsafe impl UIAccessibilityIdentification for UIView {}
);
#[cfg(feature = "UIBarItem")]
impl UIBarItem {
extern_methods!();
}
#[cfg(feature = "UIBarItem")]
extern_conformance!(
unsafe impl UIAccessibilityIdentification for UIBarItem {}
);
#[cfg(feature = "UIAlertController")]
impl UIAlertAction {
extern_methods!();
}
#[cfg(feature = "UIAlertController")]
extern_conformance!(
unsafe impl UIAccessibilityIdentification for UIAlertAction {}
);
#[cfg(feature = "UIMenuElement")]
impl UIMenuElement {
extern_methods!();
}
#[cfg(feature = "UIMenuElement")]
extern_conformance!(
unsafe impl UIAccessibilityIdentification for UIMenuElement {}
);
#[cfg(feature = "UIImage")]
impl UIImage {
extern_methods!();
}