ORKVerificationStep Class Reference

Inherits from ORKStep : NSObject
Declared in ORKVerificationStep.h
ORKVerificationStep.m

Overview

The ORKVerificationStep class represents a step that serves as placeholder step to use while the user attempts to verify their account.

The verification step contains a text field and a resend email button. The button actions must be overriden inside a subclassed verification view controller to provide navigation logic.

The developer should redirect user back to the app once the verification is done and move forward automatically.

Other Methods

– stepViewControllerClass

- (Class)stepViewControllerClass

Declared In

ORKStep.h

– initWithIdentifier:text:verificationViewControllerClass:

Returns an initialized verification step using the specified identifier, title, text, and class.

- (instancetype)initWithIdentifier:(NSString *)identifier text:(NSString *)text verificationViewControllerClass:(Class)verificationViewControllerClass

Parameters

identifier

The string that identifies the step (see ORKStep).

text

The text shown immediately below the title (see ORKStep).

verificationViewControllerClass

The subclassed verification view controller class.

Return Value

An initialized verification step object.

Declared In

ORKVerificationStep.h

– verificationViewControllerClass

The view controller subclass used for the step.

- (Class)verificationViewControllerClass

Discussion

The subclass allows you to override button actions in order to provide navigation logic for the button items on the step.

Declared In

ORKVerificationStep.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

– initWithCoder:

- (instancetype)initWithCoder:(NSCoder *)aDecoder

Declared In

ORKStep.h

Other Methods

– initWithIdentifier:

- (instancetype)initWithIdentifier:(NSString *)identifier

Declared In

ORKStep.h