ORKLoginStep Class Reference

Inherits from ORKFormStep : ORKStep : NSObject
Declared in ORKLoginStep.h

The ORKLoginStep class represents a form step that provides fields commonly used for account login.

The login step contains email and password fields.

– initWithIdentifier:

Returns a new step initialized with the specified identifier.

- (instancetype)initWithIdentifier:(NSString *)identifier

Parameters

identifier

The unique identifier of the step.

Return Value

A new step.

Discussion

This method is the primary designated initializer.

Declared In

ORKStep.h

– initWithIdentifier:title:text:

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

- (instancetype)initWithIdentifier:(NSString *)identifier title:(nullable NSString *)title text:(nullable NSString *)text

Parameters

identifier

The string that identifies the step (see ORKStep).

title

The title of the form (see ORKStep).

text

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

Return Value

As initialized form step object.

Declared In

ORKFormStep.h

– initWithIdentifier:title:text:loginViewControllerClass:

Returns an initialized login step using the specified identifier, title, text, and options.

- (instancetype)initWithIdentifier:(NSString *)identifier title:(nullable NSString *)title text:(nullable NSString *)text loginViewControllerClass:(Class)loginViewControllerClass

Parameters

identifier

The string that identifies the step (see ORKStep).

title

The title of the form (see ORKStep).

text

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

loginViewControllerClass

The subclassed login step view controller class.

Return Value

An initialized login step object.

Declared In

ORKLoginStep.h

  loginViewControllerClass

The view controller subclass used for the step.

@property (nonatomic, readonly) Class loginViewControllerClass

Discussion

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

Declared In

ORKLoginStep.h