---
title: "addItems(withObjectValues:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nscombobox/additems(withobjectvalues:)"
---

# addItems(withObjectValues:)

Adds multiple objects to the end of the receiver’s internal item list.

## Declaration

```swift
func addItems(withObjectValues objects: [Any])
```

## Parameters

- `objects`: An array of the objects to add to the internal item list.

## Discussion

Discussion This method logs a warning if the usesDataSource property is true.

## See Also

### Configuring the Combo Box Items

- [addItem(withObjectValue:)](appkit/nscombobox/additem(withobjectvalue:).md)
- [insertItem(withObjectValue:at:)](appkit/nscombobox/insertitem(withobjectvalue:at:).md)
- [objectValues](appkit/nscombobox/objectvalues.md)
- [removeAllItems()](appkit/nscombobox/removeallitems().md)
- [removeItem(at:)](appkit/nscombobox/removeitem(at:).md)
- [removeItem(withObjectValue:)](appkit/nscombobox/removeitem(withobjectvalue:).md)
- [numberOfItems](appkit/nscombobox/numberofitems.md)
