<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSComboBox/itemObjectValue(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSComboBox(im)itemObjectValueAtIndex:"
  },
  "title" : "itemObjectValue(at:)"
}
-->

# itemObjectValue(at:)

Returns the object located at the given index within the receiver’s internal item list.

```
func itemObjectValue(at index: Int) -> Any
```

## Parameters

`index`

The index of the object to retrieve. If `index` is beyond the end of the list, an `NSRangeException` is raised.

## Return Value

The object located at the specified index in the internal item list.

## Discussion

This method logs a warning if the [`usesDataSource`](/documentation/AppKit/NSComboBox/usesDataSource) property is <doc://com.apple.documentation/documentation/Swift/true>.

## See Also

[`objectValueOfSelectedItem`](/documentation/AppKit/NSComboBox/objectValueOfSelectedItem)

The object corresponding to the last item selected from the pop-up list.



---

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)