Trait objc2_ui_kit::UIInteraction
source · pub unsafe trait UIInteraction: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn view(&self) -> Option<Retained<UIView>>
where Self: Sized + Message { ... }
unsafe fn willMoveToView(&self, view: Option<&UIView>)
where Self: Sized + Message { ... }
unsafe fn didMoveToView(&self, view: Option<&UIView>)
where Self: Sized + Message { ... }
}
Available on crate feature
UIInteraction
only.Provided Methods§
unsafe fn view(&self) -> Option<Retained<UIView>>
Available on crate features
UIResponder
and UIView
only.unsafe fn willMoveToView(&self, view: Option<&UIView>)
Available on crate features
UIResponder
and UIView
only.unsafe fn didMoveToView(&self, view: Option<&UIView>)
Available on crate features
UIResponder
and UIView
only.Trait Implementations§
source§impl ProtocolType for dyn UIInteraction
impl ProtocolType for dyn UIInteraction
impl<T> ImplementedBy<T> for dyn UIInteraction
Implementations on Foreign Types§
impl<T> UIInteraction for ProtocolObject<T>where
T: ?Sized + UIInteraction,
Implementors§
impl UIInteraction for UIBandSelectionInteraction
Available on crate feature
UIBandSelectionInteraction
only.impl UIInteraction for UIContextMenuInteraction
Available on crate feature
UIContextMenuInteraction
only.impl UIInteraction for UIDragInteraction
Available on crate feature
UIDragInteraction
only.impl UIInteraction for UIDropInteraction
Available on crate feature
UIDropInteraction
only.impl UIInteraction for UIEditMenuInteraction
Available on crate feature
UIEditMenuInteraction
only.impl UIInteraction for UIFeedbackGenerator
Available on crate feature
UIFeedbackGenerator
only.impl UIInteraction for UIFindInteraction
Available on crate feature
UIFindInteraction
only.impl UIInteraction for UIIndirectScribbleInteraction
Available on crate feature
UIIndirectScribbleInteraction
only.impl UIInteraction for UILargeContentViewerInteraction
Available on crate feature
UILargeContentViewer
only.impl UIInteraction for UIPencilInteraction
Available on crate feature
UIPencilInteraction
only.impl UIInteraction for UIPointerInteraction
Available on crate feature
UIPointerInteraction
only.impl UIInteraction for UIScribbleInteraction
Available on crate feature
UIScribbleInteraction
only.impl UIInteraction for UISpringLoadedInteraction
Available on crate feature
UISpringLoadedInteraction
only.impl UIInteraction for UITextInteraction
Available on crate feature
UITextInteraction
only.impl UIInteraction for UITextSelectionDisplayInteraction
Available on crate feature
UITextSelectionDisplayInteraction
only.impl UIInteraction for UIToolTipInteraction
Available on crate feature
UIToolTipInteraction
only.impl UIInteraction for UIWindowSceneActivationInteraction
Available on crate feature
UIWindowSceneActivationInteraction
only.impl UIInteraction for UIWindowSceneDragInteraction
Available on crate feature
UIWindowSceneDragInteraction
only.