pub unsafe trait UITableViewDropCoordinator: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn items(
&self
) -> Retained<NSArray<ProtocolObject<dyn UITableViewDropItem>>>
where Self: Sized + Message { ... }
unsafe fn destinationIndexPath(&self) -> Option<Retained<NSIndexPath>>
where Self: Sized + Message { ... }
unsafe fn proposal(&self) -> Retained<UITableViewDropProposal>
where Self: Sized + Message { ... }
unsafe fn session(&self) -> Retained<ProtocolObject<dyn UIDropSession>>
where Self: Sized + Message { ... }
unsafe fn dropItem_toPlaceholder(
&self,
drag_item: &UIDragItem,
placeholder: &UITableViewDropPlaceholder
) -> Retained<ProtocolObject<dyn UITableViewDropPlaceholderContext>>
where Self: Sized + Message { ... }
unsafe fn dropItem_toRowAtIndexPath(
&self,
drag_item: &UIDragItem,
index_path: &NSIndexPath
) -> Retained<ProtocolObject<dyn UIDragAnimating>>
where Self: Sized + Message { ... }
unsafe fn dropItem_intoRowAtIndexPath_rect(
&self,
drag_item: &UIDragItem,
index_path: &NSIndexPath,
rect: CGRect
) -> Retained<ProtocolObject<dyn UIDragAnimating>>
where Self: Sized + Message { ... }
unsafe fn dropItem_toTarget(
&self,
drag_item: &UIDragItem,
target: &UIDragPreviewTarget
) -> Retained<ProtocolObject<dyn UIDragAnimating>>
where Self: Sized + Message { ... }
}Available on crate feature
UITableView only.Provided Methods§
unsafe fn items( &self ) -> Retained<NSArray<ProtocolObject<dyn UITableViewDropItem>>>
unsafe fn destinationIndexPath(&self) -> Option<Retained<NSIndexPath>>
unsafe fn proposal(&self) -> Retained<UITableViewDropProposal>
Available on crate feature
UIDropInteraction only.unsafe fn session(&self) -> Retained<ProtocolObject<dyn UIDropSession>>
Available on crate feature
UIDragSession only.unsafe fn dropItem_toPlaceholder( &self, drag_item: &UIDragItem, placeholder: &UITableViewDropPlaceholder ) -> Retained<ProtocolObject<dyn UITableViewDropPlaceholderContext>>
Available on crate features
UIDragInteraction and UIDragItem only.unsafe fn dropItem_toRowAtIndexPath( &self, drag_item: &UIDragItem, index_path: &NSIndexPath ) -> Retained<ProtocolObject<dyn UIDragAnimating>>
Available on crate features
UIDragInteraction and UIDragItem only.unsafe fn dropItem_intoRowAtIndexPath_rect( &self, drag_item: &UIDragItem, index_path: &NSIndexPath, rect: CGRect ) -> Retained<ProtocolObject<dyn UIDragAnimating>>
Available on crate features
UIDragInteraction and UIDragItem only.unsafe fn dropItem_toTarget( &self, drag_item: &UIDragItem, target: &UIDragPreviewTarget ) -> Retained<ProtocolObject<dyn UIDragAnimating>>
Available on crate features
UIDragInteraction and UIDragItem and UITargetedDragPreview and UITargetedPreview only.