-
Notifications
You must be signed in to change notification settings - Fork 119
How to use RMStep
Roland Moers edited this page Jun 19, 2014
·
2 revisions
RMStepsController also brings a class called RMStep. An instance of RMStep is assigned to every UIViewController and can be accessed using the property
@property (nonatomic, strong) RMStep *step;
This step is used to configure the appearance of a step in the steps bar similar to the usage of UINavigationItem.
Some properties of RMStep are already used before the view of a content view controller is loaded. Thus setting properties of RMStep in - (void)viewDidLoad
of a content view controller is not early enough. Instead it is better to set those properties in the init method of your view controller or in - (void)awakeFromNib
. Alternatively you can also set those properties in - (NSArray *)stepViewControllers
of your RMStepsController subclass.