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

# objectValues

An array of the items from the combo box’s internal list.

```
var objectValues: [Any] { get }
```

## Discussion

The array contains the objects you added or inserted into the combo box, so the type of each object can vary. Accessing this property logs a warning if the [`usesDataSource`](/documentation/AppKit/NSComboBox/usesDataSource) property is <doc://com.apple.documentation/documentation/Swift/true>.

---

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)