---
title: "visit(_:)"
framework: contacts
role: symbol
role_heading: Instance Method
path: "contacts/cnchangehistoryeventvisitor/visit(_:)-ve62"
---

# visit(_:)

Tells the delegate that the user added a group.

## Declaration

```swift
optional func visit(_ event: CNChangeHistoryAddGroupEvent)
```

## Parameters

- `event`: The event object that represents a user adding a group.

## Discussion

Discussion Inspect the group in the event that the system provides and update your app’s cached data accordingly.

## See Also

### Updating groups

- [visit(_:)](contacts/cnchangehistoryeventvisitor/visit(_:)-23p9h.md)
- [visit(_:)](contacts/cnchangehistoryeventvisitor/visit(_:)-82duo.md)
