public interface UITableViewDropCoordinator
| Modifier and Type | Method and Description |
|---|---|
NSIndexPath |
destinationIndexPath()
The last hit-tested index path known during the drop session.
|
UIDragAnimating |
dropItemIntoRowAtIndexPathRect(UIDragItem dragItem,
NSIndexPath indexPath,
CGRect rect)
Animate the dragItem to a rect inside an existing row.
|
UITableViewDropPlaceholderContext |
dropItemToPlaceholder(UIDragItem dragItem,
UITableViewDropPlaceholder placeholder)
Animate the dragItem to an automatically inserted placeholder row.
|
UIDragAnimating |
dropItemToRowAtIndexPath(UIDragItem dragItem,
NSIndexPath indexPath)
Animate the dragItem to a row that you inserted at this index path.
|
UIDragAnimating |
dropItemToTarget(UIDragItem dragItem,
UIDragPreviewTarget target)
Animate the dragItem to a location specified by the UIDragPreviewTarget.
|
NSArray<?> |
items()
Ordered list of items available for this drop.
|
UITableViewDropProposal |
proposal()
The current drop proposal at the time of the drop.
|
UIDropSession |
session()
The drop session.
|
NSIndexPath destinationIndexPath()
UIDragAnimating dropItemIntoRowAtIndexPathRect(UIDragItem dragItem, NSIndexPath indexPath, CGRect rect)
UITableViewDropPlaceholderContext dropItemToPlaceholder(UIDragItem dragItem, UITableViewDropPlaceholder placeholder)
UIDragAnimating dropItemToRowAtIndexPath(UIDragItem dragItem, NSIndexPath indexPath)
UIDragAnimating dropItemToTarget(UIDragItem dragItem, UIDragPreviewTarget target)
NSArray<?> items()
UITableViewDropProposal proposal()
UIDropSession session()