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

# visitAddMember(_:)

Tells the delegate that the user added a contact to a group.

## Declaration

```swift
optional func visitAddMember(_ event: CNChangeHistoryAddMemberToGroupEvent)
```

## Parameters

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

## Discussion

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

## See Also

### Updating contacts in groups

- [visitRemoveMember(_:)](contacts/cnchangehistoryeventvisitor/visitremovemember(_:).md)
