---
title: "remove(at:)"
framework: CareKit
role: symbol
role_heading: Instance Method
platforms: [iOS 13.0+, Mac Catalyst 13.0+, watchOS 7.0+]
path: "carekit/ocklistviewcontroller/remove(at:)"
---

# remove(at:)

Removes the view located at a specific index.

## Declaration

```swift
func remove(at index: Int)
```

## Parameters

- `index`: The index of the view you remove. This must be a valid index in the number of views listed.

## See Also

### Removing from the list

- [clear()](carekit/ocklistviewcontroller/clear().md)
