Initializer

init(identifier:title:type:)

Initializes a new binary activity item of the given type.

Declaration

init(identifier: String, title: String, type valueType: CLSBinaryValueType)

Parameters

identifier

A unique identifier for the activity item.

title

A human readable name for the activity item.

valueType

The kind of Boolean that the activity item represents.

See Also

Creating Binary Activity Items

enum CLSBinaryValueType

The kinds of outcomes that a binary activity item can represent.