---
title: hasChanges
framework: eventkit
role: symbol
role_heading: Instance Property
path: eventkit/ekobject/haschanges
---

# hasChanges

Returns whether this object or any of the objects it contains has uncommitted changes.

## Declaration

```swift
var hasChanges: Bool { get }
```

## Return Value

Return Value Returns true if there are uncommitted changes; otherwise, false.

## See Also

### Saving and Restoring State

- [isNew](eventkit/ekobject/isnew.md)
- [refresh()](eventkit/ekobject/refresh().md)
- [reset()](eventkit/ekobject/reset().md)
- [rollback()](eventkit/ekobject/rollback().md)
