---
title: objectWillChange
framework: CareKit
role: symbol
role_heading: Instance Property
platforms: [iOS 13.0+, Mac Catalyst 13.0+, watchOS 7.0+]
path: carekit/ocktaskcontrollerprotocol/objectwillchange
---

# objectWillChange

A publisher that publishes when tasks change in the store.

## Declaration

```swift
var objectWillChange: CurrentValueSubject<OCKTaskEvents?, Never> { get }
```

## See Also

### Publishing Changes

- [store](carekit/ocktaskcontrollerprotocol/store.md)
