---
title: "init(name:)"
framework: contacts
role: symbol
role_heading: Initializer
path: "contacts/cncontactrelation/init(name:)"
---

# init(name:)

Creates an object with the name of the related contact.

## Declaration

```swift
init(name: String)
```

## Parameters

- `name`: Name of the related contact.

## Return Value

Return Value Returns the initialized instance of this class.
