---
title: "init(fromEnergyFormatterUnit:)"
framework: healthkit
role: symbol
role_heading: Initializer
path: "healthkit/hkunit/init(fromenergyformatterunit:)"
---

# init(fromEnergyFormatterUnit:)

## Declaration

```swift
convenience init(fromEnergyFormatterUnit energyFormatterUnit: EnergyFormatter.Unit)
```
