<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/NSObject-swift.class/imageBrowser(_:moveItemsAt:to:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Objective-C Runtime",
      "ObjectiveC"
    ],
    "preciseIdentifier" : "c:objc(cs)NSObject(im)imageBrowser:moveItemsAtIndexes:toIndex:"
  },
  "title" : "imageBrowser(_:moveItemsAt:to:)"
}
-->

# imageBrowser(_:moveItemsAt:to:)

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

```
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

[`YES`](/documentation/ObjectiveC/YES) if successful; [`NO`](/documentation/ObjectiveC/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

  <doc://com.apple.documentation/documentation/Quartz/IKImageBrowserView/setAllowsReordering(_:)>



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)