---
title: "init(label:value:)"
framework: contacts
role: symbol
role_heading: Initializer
path: "contacts/cnlabeledvalue/init(label:value:)"
---

# init(label:value:)

Returns a new labeled value identifier.

## Declaration

```swift
init(label: String?, value: ValueType)
```

## Parameters

- `label`: A string value for the label portion of the object, or nil if the value doesn’t have a label.
- `value`: A value for the labeled value object. For valid values, see doc://com.apple.contacts/documentation/Contacts/CNContact properties that are arrays of labeled value objects.

## Return Value

Return Value A new labeled value object.
