---
title: "removeRows(at:)"
framework: watchkit
role: symbol
role_heading: Instance Method
path: "watchkit/wkinterfacetable/removerows(at:)"
---

# removeRows(at:)

Removes the specified rows from the table.

## Declaration

```swift
func removeRows(at rows: IndexSet)
```

## Parameters

- `rows`: An index set corresponding to the rows you want to remove. If any of the indexes are invalid, this method raises an exception.

## Discussion

Discussion This method removes row controllers from the table using the same semantics defined by the removeObjects(at:) method of NSMutableArray.

## See Also

### Inserting and Removing Rows

- [insertRows(at:withRowType:)](watchkit/wkinterfacetable/insertrows(at:withrowtype:).md)
