use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-core-foundation")]
use objc2_core_foundation::*;
use objc2_foundation::*;
#[cfg(feature = "objc2-quartz-core")]
#[cfg(not(target_os = "watchos"))]
use objc2_quartz_core::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct UIFocusMovementHint;
);
extern_conformance!(
unsafe impl NSCopying for UIFocusMovementHint {}
);
unsafe impl CopyingHelper for UIFocusMovementHint {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for UIFocusMovementHint {}
);
impl UIFocusMovementHint {
extern_methods!(
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(movementDirection))]
#[unsafe(method_family = none)]
pub fn movementDirection(&self) -> CGVector;
#[cfg(feature = "objc2-quartz-core")]
#[cfg(not(target_os = "watchos"))]
#[unsafe(method(perspectiveTransform))]
#[unsafe(method_family = none)]
pub fn perspectiveTransform(&self) -> CATransform3D;
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(rotation))]
#[unsafe(method_family = none)]
pub fn rotation(&self) -> CGVector;
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(translation))]
#[unsafe(method_family = none)]
pub fn translation(&self) -> CGVector;
#[cfg(feature = "objc2-quartz-core")]
#[cfg(not(target_os = "watchos"))]
#[unsafe(method(interactionTransform))]
#[unsafe(method_family = none)]
pub fn interactionTransform(&self) -> CATransform3D;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}