use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[thread_kind = MainThreadOnly]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct UIWindowSceneDragInteraction;
);
extern_conformance!(
unsafe impl NSObjectProtocol for UIWindowSceneDragInteraction {}
);
#[cfg(feature = "UIInteraction")]
extern_conformance!(
unsafe impl UIInteraction for UIWindowSceneDragInteraction {}
);
impl UIWindowSceneDragInteraction {
extern_methods!(
#[cfg(feature = "UIGestureRecognizer")]
#[unsafe(method(gestureForFailureRelationships))]
#[unsafe(method_family = none)]
pub fn gestureForFailureRelationships(&self) -> Retained<UIGestureRecognizer>;
);
}
impl UIWindowSceneDragInteraction {
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>;
);
}