---
title: removeAllItems()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nspopupbuttoncell/removeallitems()
---

# removeAllItems()

Removes all items in the receiver’s item menu.

## Declaration

```swift
func removeAllItems()
```

## See Also

### Adding and removing items

- [addItem(withTitle:)](appkit/nspopupbuttoncell/additem(withtitle:).md)
- [addItems(withTitles:)](appkit/nspopupbuttoncell/additems(withtitles:).md)
- [insertItem(withTitle:at:)](appkit/nspopupbuttoncell/insertitem(withtitle:at:).md)
- [removeItem(withTitle:)](appkit/nspopupbuttoncell/removeitem(withtitle:).md)
- [removeItem(at:)](appkit/nspopupbuttoncell/removeitem(at:).md)
