Trait objc2_ui_kit::UITextDropDelegate
source · pub unsafe trait UITextDropDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn textDroppableView_willBecomeEditableForDrop(
&self,
text_droppable_view: &UIView,
drop: &ProtocolObject<dyn UITextDropRequest>
) -> UITextDropEditability
where Self: Sized + Message { ... }
unsafe fn textDroppableView_proposalForDrop(
&self,
text_droppable_view: &UIView,
drop: &ProtocolObject<dyn UITextDropRequest>
) -> Retained<UITextDropProposal>
where Self: Sized + Message { ... }
unsafe fn textDroppableView_willPerformDrop(
&self,
text_droppable_view: &UIView,
drop: &ProtocolObject<dyn UITextDropRequest>
)
where Self: Sized + Message { ... }
unsafe fn textDroppableView_previewForDroppingAllItemsWithDefault(
&self,
text_droppable_view: &UIView,
default_preview: &UITargetedDragPreview
) -> Option<Retained<UITargetedDragPreview>>
where Self: Sized + Message { ... }
unsafe fn textDroppableView_dropSessionDidEnter(
&self,
text_droppable_view: &UIView,
session: &ProtocolObject<dyn UIDropSession>
)
where Self: Sized + Message { ... }
unsafe fn textDroppableView_dropSessionDidUpdate(
&self,
text_droppable_view: &UIView,
session: &ProtocolObject<dyn UIDropSession>
)
where Self: Sized + Message { ... }
unsafe fn textDroppableView_dropSessionDidExit(
&self,
text_droppable_view: &UIView,
session: &ProtocolObject<dyn UIDropSession>
)
where Self: Sized + Message { ... }
unsafe fn textDroppableView_dropSessionDidEnd(
&self,
text_droppable_view: &UIView,
session: &ProtocolObject<dyn UIDropSession>
)
where Self: Sized + Message { ... }
}
Available on crate feature
UITextDropping
only.Provided Methods§
unsafe fn textDroppableView_willBecomeEditableForDrop( &self, text_droppable_view: &UIView, drop: &ProtocolObject<dyn UITextDropRequest> ) -> UITextDropEditability
Available on crate features
UIPasteConfigurationSupporting
and UIResponder
and UITextInput
and UITextInputTraits
and UITextPasteConfigurationSupporting
and UIView
only.unsafe fn textDroppableView_proposalForDrop( &self, text_droppable_view: &UIView, drop: &ProtocolObject<dyn UITextDropRequest> ) -> Retained<UITextDropProposal>
Available on crate features
UIDropInteraction
and UIPasteConfigurationSupporting
and UIResponder
and UITextDropProposal
and UITextInput
and UITextInputTraits
and UITextPasteConfigurationSupporting
and UIView
only.unsafe fn textDroppableView_willPerformDrop( &self, text_droppable_view: &UIView, drop: &ProtocolObject<dyn UITextDropRequest> )
Available on crate features
UIPasteConfigurationSupporting
and UIResponder
and UITextInput
and UITextInputTraits
and UITextPasteConfigurationSupporting
and UIView
only.unsafe fn textDroppableView_previewForDroppingAllItemsWithDefault( &self, text_droppable_view: &UIView, default_preview: &UITargetedDragPreview ) -> Option<Retained<UITargetedDragPreview>>
Available on crate features
UIPasteConfigurationSupporting
and UIResponder
and UITargetedDragPreview
and UITargetedPreview
and UITextInput
and UITextInputTraits
and UITextPasteConfigurationSupporting
and UIView
only.unsafe fn textDroppableView_dropSessionDidEnter( &self, text_droppable_view: &UIView, session: &ProtocolObject<dyn UIDropSession> )
Available on crate features
UIDragSession
and UIPasteConfigurationSupporting
and UIResponder
and UITextInput
and UITextInputTraits
and UITextPasteConfigurationSupporting
and UIView
only.unsafe fn textDroppableView_dropSessionDidUpdate( &self, text_droppable_view: &UIView, session: &ProtocolObject<dyn UIDropSession> )
Available on crate features
UIDragSession
and UIPasteConfigurationSupporting
and UIResponder
and UITextInput
and UITextInputTraits
and UITextPasteConfigurationSupporting
and UIView
only.unsafe fn textDroppableView_dropSessionDidExit( &self, text_droppable_view: &UIView, session: &ProtocolObject<dyn UIDropSession> )
Available on crate features
UIDragSession
and UIPasteConfigurationSupporting
and UIResponder
and UITextInput
and UITextInputTraits
and UITextPasteConfigurationSupporting
and UIView
only.unsafe fn textDroppableView_dropSessionDidEnd( &self, text_droppable_view: &UIView, session: &ProtocolObject<dyn UIDropSession> )
Available on crate features
UIDragSession
and UIPasteConfigurationSupporting
and UIResponder
and UITextInput
and UITextInputTraits
and UITextPasteConfigurationSupporting
and UIView
only.