Instance Method

initWithIdentifier:title:type:

Initializes a new binary activity item of the given type.

Declaration

- (instancetype)initWithIdentifier:(NSString *)identifier title:(NSString *)title type:(CLSBinaryValueType)valueType;

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

CLSBinaryValueType

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