---
title: "init(identifier:title:)"
framework: classkit
role: symbol
role_heading: Initializer
path: "classkit/clsquantityitem/init(identifier:title:)"
---

# init(identifier:title:)

Initializes an activity item that records a discrete quantity.

## Declaration

```swift
init(identifier: String, title: String)
```

## Parameters

- `identifier`: A unique string identifier for the activity item.
- `title`: A human readble name for the activity item.
