Instance Method インスタンスメソッド

imageBrowser(_:moveItemsAt:to:)

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

Declaration 宣言

func imageBrowser(_ aBrowser: IKImageBrowserView!, 
      moveItemsAt indexes: IndexSet!, 
               to destinationIndex: Int) -> Bool

Parameters パラメータ

aBrowser

An image browser view.

indexes

The indexes of the items that should be reordered.

destinationIndex

The starting index of the destination the items should be moved to.

Return Value 戻り値

true if successful; false otherwise.

Discussion 解説

This method is optional. It is invoked by the image browser view after Image Kit determines that a reordering operation should be applied. The data source should update itself by reordering its elements.

See Also 参照

Supporting Item Editing (Optional)

Related Documentation 関連文書