Instance Method

imageBrowser(_:writeItemsAt:to:)

Signals that a drag should begin.

Declaration

func imageBrowser(_ aBrowser: IKImageBrowserView!, writeItemsAt itemIndexes: IndexSet!, to pasteboard: NSPasteboard!) -> Int

Parameters

aBrowser

An image browser view.

itemIndexes

The indexes of the items that should be dragged.

pasteboard

The pasteboard to copy the items to.

Return Value

The number of items written to the pasteboard.

Discussion

This method is optional. It is invoked after Image Kit determines that a drag should begin, but before the drag has been started.

See Also

Supporting Item Editing (Optional)

func imageBrowser(IKImageBrowserView!, removeItemsAt: IndexSet!)

Signals that a remove operation should be applied to the specified items.

func imageBrowser(IKImageBrowserView!, moveItemsAt: IndexSet!, to: Int) -> Bool

Signals that the specified items should be moved to the specified destination.