---
title: "init(_:)"
framework: healthkit
role: symbol
role_heading: Initializer
path: "healthkit/hkcharacteristictype/init(_:)"
---

# init(_:)

Creates a characteristic type using the provided identifier.

## Declaration

```swift
convenience init(_ identifier: HKCharacteristicTypeIdentifier)
```

## Parameters

- `identifier`: An identifier that specifies the type of characteristic data. For a complete list of characteristic type identifiers, see doc://com.apple.healthkit/documentation/HealthKit/HKCharacteristicTypeIdentifier.
