pub unsafe trait UITableViewDragDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn tableView_itemsForBeginningDragSession_atIndexPath(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDragSession>,
index_path: &NSIndexPath,
) -> Retained<NSArray<UIDragItem>>
where Self: Sized + Message { ... }
unsafe fn tableView_itemsForAddingToDragSession_atIndexPath_point(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDragSession>,
index_path: &NSIndexPath,
point: CGPoint,
) -> Retained<NSArray<UIDragItem>>
where Self: Sized + Message { ... }
unsafe fn tableView_dragPreviewParametersForRowAtIndexPath(
&self,
table_view: &UITableView,
index_path: &NSIndexPath,
) -> Option<Retained<UIDragPreviewParameters>>
where Self: Sized + Message { ... }
unsafe fn tableView_dragSessionWillBegin(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDragSession>,
)
where Self: Sized + Message { ... }
unsafe fn tableView_dragSessionDidEnd(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDragSession>,
)
where Self: Sized + Message { ... }
unsafe fn tableView_dragSessionAllowsMoveOperation(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDragSession>,
) -> bool
where Self: Sized + Message { ... }
unsafe fn tableView_dragSessionIsRestrictedToDraggingApplication(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDragSession>,
) -> bool
where Self: Sized + Message { ... }
}
Available on crate feature
UITableView
only.Expand description
Provided Methods§
unsafe fn tableView_itemsForBeginningDragSession_atIndexPath( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDragSession>, index_path: &NSIndexPath, ) -> Retained<NSArray<UIDragItem>>
Available on crate features
UIDragItem
and UIDragSession
and UIResponder
and UIScrollView
and UIView
only.unsafe fn tableView_itemsForAddingToDragSession_atIndexPath_point( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDragSession>, index_path: &NSIndexPath, point: CGPoint, ) -> Retained<NSArray<UIDragItem>>
Available on crate features
UIDragItem
and UIDragSession
and UIResponder
and UIScrollView
and UIView
and objc2-core-foundation
only.unsafe fn tableView_dragPreviewParametersForRowAtIndexPath( &self, table_view: &UITableView, index_path: &NSIndexPath, ) -> Option<Retained<UIDragPreviewParameters>>
Available on crate features
UIDragPreviewParameters
and UIPreviewParameters
and UIResponder
and UIScrollView
and UIView
only.unsafe fn tableView_dragSessionWillBegin( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDragSession>, )
Available on crate features
UIDragSession
and UIResponder
and UIScrollView
and UIView
only.unsafe fn tableView_dragSessionDidEnd( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDragSession>, )
Available on crate features
UIDragSession
and UIResponder
and UIScrollView
and UIView
only.unsafe fn tableView_dragSessionAllowsMoveOperation( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDragSession>, ) -> bool
Available on crate features
UIDragSession
and UIResponder
and UIScrollView
and UIView
only.unsafe fn tableView_dragSessionIsRestrictedToDraggingApplication( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDragSession>, ) -> bool
Available on crate features
UIDragSession
and UIResponder
and UIScrollView
and UIView
only.