Instance Method

indexAtLocationOfDroppedItem

Returns the index of the cell where the drop operation occurred.

Declaration

- (NSUInteger)indexAtLocationOfDroppedItem;

Return Value

The index of the cell where the drop operation occurred.

Discussion

The returned index is valid until the next drop occurs.

See Also

Supporting Drag and Drop

- setDraggingDestinationDelegate:

Sets the dragging destination delegate of the receiver.

- draggingDestinationDelegate

Returns the dragging destination delegate of the receiver.

- setDropIndex:dropOperation:

Allows the class to retarget the drop action.

- setAllowsDroppingOnItems:

Specifies whether the user can drop on items.

- allowsDroppingOnItems

Returns whether the user can drop on items.

- dropOperation

Returns the current drop operation.