Instance Method

imageBrowser:moveItemsAtIndexes:toIndex:

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

Declaration

- (BOOL)imageBrowser:(IKImageBrowserView *)aBrowser moveItemsAtIndexes:(NSIndexSet *)indexes toIndex:(NSUInteger)destinationIndex;

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

YES if successful; NO 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)

- imageBrowser:removeItemsAtIndexes:

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

- imageBrowser:writeItemsAtIndexes:toPasteboard:

Signals that a drag should begin.