ORKFitnessStep Class Reference

Inherits from ORKActiveStep : ORKStep : NSObject
Declared in ORKFitnessStep.h
ORKFitnessStep.m

Overview

Fitness step.

Displays usual header, a counting-up timer, read outs for distance and/or heart rate if corresponding recorders are attached.

Also displays an image during the task.

+ stepViewControllerClass

+ (Class)stepViewControllerClass

Declared In

ORKStep.h

– initWithIdentifier:

- (instancetype)initWithIdentifier:(NSString *)identifier

Declared In

ORKStep.h

– validateParameters

Checks the parameters of the step and throws exceptions on invalid parameters.

- (void)validateParameters

Discussion

This method is called when there is a need to validate the step’s parameters, which is typically the case when adding a step to an ORKStepViewController object, and when presenting the step view controller.

Subclasses should override this method to provide validation of their additional properties, and must call super.

Declared In

ORKStep.h