---
title: "init(participant:highlight:)"
framework: sharedwithyou
role: symbol
role_heading: Initializer
path: "sharedwithyou/swremoveparticipantalertcontroller/init(participant:highlight:)"
---

# init(participant:highlight:)

Creates and initializes the alert controller.

## Declaration

```swift
convenience init(participant: SWPerson, highlight: SWCollaborationHighlight)
```

## Parameters

- `participant`: The SWPerson displayed in the alert.
- `highlight`: The SWCollaborationHighlight related to the request.
