---
title: OCKTaskViewControllerDelegate
framework: CareKit
role: symbol
role_heading: Protocol
platforms: [iOS 13.0+, Mac Catalyst 13.0+, watchOS 7.0+]
path: carekit/ocktaskviewcontrollerdelegate
---

# OCKTaskViewControllerDelegate

A protocol for handling changes in events inside a view controller.

## Declaration

```swift
protocol OCKTaskViewControllerDelegate : AnyObject
```

## Topics

### Handling Errors

- [taskViewController(_:didEncounterError:)](carekit/ocktaskviewcontrollerdelegate/taskviewcontroller(_:didencountererror:).md)

## Relationships

### Inherited By

- [OCKDailyTasksPageViewControllerDelegate](carekit/ockdailytaskspageviewcontrollerdelegate.md)

### Conforming Types

- [OCKDailyTasksPageViewController](carekit/ockdailytaskspageviewcontroller.md)

## See Also

### Handling Event Changes

- [delegate](carekit/ocktaskviewcontroller/delegate.md)
- [didSelectTaskView(_:eventIndexPath:)](carekit/ocktaskviewcontroller/didselecttaskview(_:eventindexpath:).md)
