Instance Method

dropOperation

Returns the current drop operation.

Declaration

- (IKImageBrowserDropOperation)dropOperation;

Return Value

IKImageBrowserDropOn if the drop occurs on an item, otherwise IKImageBrowserDropBefore.

Discussion

The returned value is valid when a drop occurred and until next drop.

For example, given a browser with N cells , a cell of N-1 and operation of IKImageBrowserDropOn would specify a drop on the last cell. To specify a drop after the last cell, one would use an index of N and IKImageBrowserDropBefore for the operation.

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.

- indexAtLocationOfDroppedItem

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

- setAllowsDroppingOnItems:

Specifies whether the user can drop on items.

- allowsDroppingOnItems

Returns whether the user can drop on items.