DragonPokerStep Class Reference

Inherits from ORKFormStep : ORKStep : NSObject
Declared in DragonPokerStep.h
DragonPokerStep.m

Overview

Example implementation of an override of the class method instantiateStepViewControllerWithResult: In this example, only show the cancel button on Tuesdays

– initWithIdentifier:

- (instancetype)initWithIdentifier:(NSString *)identifier

Declared In

ORKStep.h

– instantiateStepViewControllerWithResult:

Instantiates a step view controller for this class.

- (ORKStepViewController *)instantiateStepViewControllerWithResult:(ORKResult *)result

Parameters

result

The result associated with this step

Return Value

A newly initialized step view controller.

Discussion

This method is called when a step is about to be presented. The default implementation returns a view controller that is appropriate to this step by allocating an instance of ORKStepViewController using the stepViewControllerClass method and initializing that instance by calling initWithIdentifier:result: on the provided ORKStepViewController class instance.

Override this method if you need to customize the behavior before presenting the step or if the view controller is presented using a nib or storyboard.

Declared In

ORKStep.h