Contents

dropOperation()

Returns the current drop operation.

Declaration

func dropOperation() -> IKImageBrowserDropOperation

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