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

# visit(_:)

Tells the delegate that the user deleted a contact.

## Declaration

```swift
func visit(_ event: CNChangeHistoryDeleteContactEvent)
```

## Parameters

- `event`: The event object that represents a user deleting a contact.

## Discussion

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

## See Also

### Updating contacts

- [visit(_:)](contacts/cnchangehistoryeventvisitor/visit(_:)-9w73y.md)
- [visit(_:)](contacts/cnchangehistoryeventvisitor/visit(_:)-1pf2a.md)
