Contents

init(identifier:title:)

Initializes an activity item that records a discrete quantity.

Declaration

init(identifier: String, title: String)

Parameters

  • identifier:

    A unique string identifier for the activity item.

  • title:

    A human readble name for the activity item.