---
title: "removeItems(at:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsscrubber/removeitems(at:)"
---

# removeItems(at:)

Removes the items at the specified indexes from the scrubber.

## Declaration

```swift
func removeItems(at indexes: IndexSet)
```

## Parameters

- `indexes`: An index set (doc://com.apple.documentation/documentation/Foundation/IndexSet) of the indexes of the items to remove.

## See Also

### Inserting, moving, and deleting items

- [insertItems(at:)](appkit/nsscrubber/insertitems(at:).md)
- [moveItem(at:to:)](appkit/nsscrubber/moveitem(at:to:).md)
