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

# imageBrowser(_:groupAt:)

Returns the group at the specified index.

```
func imageBrowser(_ aBrowser: IKImageBrowserView!, groupAt index: Int) -> [AnyHashable : Any]!
```

## Parameters

`aBrowser`

An image browser view.

`index`

The index of the group you want to retrieve.

## Return Value

A dictionary that defines the group. The keys in this dictionary can be any of the following constants: <doc://com.apple.documentation/documentation/Quartz/IKImageBrowserGroupStyleKey>, <doc://com.apple.documentation/documentation/Quartz/IKImageBrowserGroupBackgroundColorKey>, <doc://com.apple.documentation/documentation/Quartz/IKImageBrowserGroupTitleKey>, and <doc://com.apple.documentation/documentation/Quartz/IKImageBrowserGroupRangeKey>. For more information on these constants, see <doc://com.apple.documentation/documentation/Quartz/IKImageBrowserView>.

## Discussion

This method is optional.

---

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)