use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-core-foundation")]
use objc2_core_foundation::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[thread_kind = MainThreadOnly]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct UIContentUnavailableImageProperties;
);
extern_conformance!(
unsafe impl NSCoding for UIContentUnavailableImageProperties {}
);
extern_conformance!(
unsafe impl NSCopying for UIContentUnavailableImageProperties {}
);
unsafe impl CopyingHelper for UIContentUnavailableImageProperties {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for UIContentUnavailableImageProperties {}
);
extern_conformance!(
unsafe impl NSSecureCoding for UIContentUnavailableImageProperties {}
);
impl UIContentUnavailableImageProperties {
extern_methods!(
#[cfg(all(
feature = "UIImageConfiguration",
feature = "UIImageSymbolConfiguration"
))]
#[unsafe(method(preferredSymbolConfiguration))]
#[unsafe(method_family = none)]
pub fn preferredSymbolConfiguration(&self) -> Option<Retained<UIImageSymbolConfiguration>>;
#[cfg(all(
feature = "UIImageConfiguration",
feature = "UIImageSymbolConfiguration"
))]
#[unsafe(method(setPreferredSymbolConfiguration:))]
#[unsafe(method_family = none)]
pub fn setPreferredSymbolConfiguration(
&self,
preferred_symbol_configuration: Option<&UIImageSymbolConfiguration>,
);
#[cfg(feature = "UIColor")]
#[unsafe(method(tintColor))]
#[unsafe(method_family = none)]
pub fn tintColor(&self) -> Option<Retained<UIColor>>;
#[cfg(feature = "UIColor")]
#[unsafe(method(setTintColor:))]
#[unsafe(method_family = none)]
pub fn setTintColor(&self, tint_color: Option<&UIColor>);
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(cornerRadius))]
#[unsafe(method_family = none)]
pub fn cornerRadius(&self) -> CGFloat;
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(setCornerRadius:))]
#[unsafe(method_family = none)]
pub fn setCornerRadius(&self, corner_radius: CGFloat);
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(maximumSize))]
#[unsafe(method_family = none)]
pub fn maximumSize(&self) -> CGSize;
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(setMaximumSize:))]
#[unsafe(method_family = none)]
pub fn setMaximumSize(&self, maximum_size: CGSize);
#[unsafe(method(accessibilityIgnoresInvertColors))]
#[unsafe(method_family = none)]
pub fn accessibilityIgnoresInvertColors(&self) -> bool;
#[unsafe(method(setAccessibilityIgnoresInvertColors:))]
#[unsafe(method_family = none)]
pub fn setAccessibilityIgnoresInvertColors(
&self,
accessibility_ignores_invert_colors: bool,
);
);
}
impl UIContentUnavailableImageProperties {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub fn new(mtm: MainThreadMarker) -> Retained<Self>;
);
}