pub unsafe trait UITableViewDropDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn tableView_performDropWithCoordinator(
&self,
table_view: &UITableView,
coordinator: &ProtocolObject<dyn UITableViewDropCoordinator>
)
where Self: Sized + Message { ... }
unsafe fn tableView_canHandleDropSession(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDropSession>
) -> bool
where Self: Sized + Message { ... }
unsafe fn tableView_dropSessionDidEnter(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDropSession>
)
where Self: Sized + Message { ... }
unsafe fn tableView_dropSessionDidUpdate_withDestinationIndexPath(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDropSession>,
destination_index_path: Option<&NSIndexPath>
) -> Retained<UITableViewDropProposal>
where Self: Sized + Message { ... }
unsafe fn tableView_dropSessionDidExit(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDropSession>
)
where Self: Sized + Message { ... }
unsafe fn tableView_dropSessionDidEnd(
&self,
table_view: &UITableView,
session: &ProtocolObject<dyn UIDropSession>
)
where Self: Sized + Message { ... }
unsafe fn tableView_dropPreviewParametersForRowAtIndexPath(
&self,
table_view: &UITableView,
index_path: &NSIndexPath
) -> Option<Retained<UIDragPreviewParameters>>
where Self: Sized + Message { ... }
}
Available on crate feature
UITableView
only.Provided Methods§
unsafe fn tableView_performDropWithCoordinator( &self, table_view: &UITableView, coordinator: &ProtocolObject<dyn UITableViewDropCoordinator> )
Available on crate features
UIResponder
and UIScrollView
and UIView
only.unsafe fn tableView_canHandleDropSession( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDropSession> ) -> bool
Available on crate features
UIDragSession
and UIResponder
and UIScrollView
and UIView
only.unsafe fn tableView_dropSessionDidEnter( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDropSession> )
Available on crate features
UIDragSession
and UIResponder
and UIScrollView
and UIView
only.unsafe fn tableView_dropSessionDidUpdate_withDestinationIndexPath( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDropSession>, destination_index_path: Option<&NSIndexPath> ) -> Retained<UITableViewDropProposal>
Available on crate features
UIDragSession
and UIDropInteraction
and UIResponder
and UIScrollView
and UIView
only.unsafe fn tableView_dropSessionDidExit( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDropSession> )
Available on crate features
UIDragSession
and UIResponder
and UIScrollView
and UIView
only.unsafe fn tableView_dropSessionDidEnd( &self, table_view: &UITableView, session: &ProtocolObject<dyn UIDropSession> )
Available on crate features
UIDragSession
and UIResponder
and UIScrollView
and UIView
only.unsafe fn tableView_dropPreviewParametersForRowAtIndexPath( &self, table_view: &UITableView, index_path: &NSIndexPath ) -> Option<Retained<UIDragPreviewParameters>>
Available on crate features
UIDragPreviewParameters
and UIPreviewParameters
and UIResponder
and UIScrollView
and UIView
only.