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

# itemObjectValue(at:)

Returns the object located at the specified location in the internal item list.

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

## Parameters

`index`

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

## Return Value

The object at the given location in the combo box’s internal item list.

## Discussion

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

## See Also

[`objectValueOfSelectedItem`](/documentation/AppKit/NSComboBoxCell/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)