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)