Inherits from UIToolbar
Declared in RMStepsBar.h

Overview

A RMStepsBar is a subclass of UIToolbar. It displays the progress of an user while going through an arbitrary number of steps.

Tasks

Properties

allowBackward

@property (nonatomic, assign) BOOL allowBackward
Discussion

Used to allow user to go back.

Declared In

RMStepsBar.h

cancelButton

@property (nonatomic, strong, readonly) UIButton *cancelButton
Discussion

Used to access the cancel button and to customize its appearance.

Declared In

RMStepsBar.h

dataSource

@property (nonatomic, weak) id<RMStepsBarDataSource> dataSource
Discussion

The data source of this RMStepsBar. Must conform to the RMStepsBarDataSource protocol.

Declared In

RMStepsBar.h

delegate

@property (nonatomic, weak) id<RMStepsBarDelegate> delegate
Discussion

The delegate of this RMStepsBar. Must conform to the RMStepsBarDelegate protocol.

Declared In

RMStepsBar.h

hideCancelButton

@property (nonatomic, assign) BOOL hideCancelButton
Discussion

Used to hide or show the cancel button.

Declared In

RMStepsBar.h

hideNumberLabelWhenActiveStep

@property (nonatomic, assign) BOOL hideNumberLabelWhenActiveStep
Discussion

Used to hide or show the number label for current step.

Declared In

RMStepsBar.h

indexOfSelectedStep

@property (nonatomic, assign) NSUInteger indexOfSelectedStep
Discussion

Used to set the index of the selected step. When changing the selected step using this property the change will not be animated.

See Also

  • [RMStepsBar setIndexOfSelectedStep:animated:]

Declared In

RMStepsBar.h

seperatorColor

@property (nonatomic, strong) UIColor *seperatorColor
Discussion

Used to set the seperator color.

Declared In

RMStepsBar.h

Instance Methods

reloadData

- (void)reloadData
Discussion

Used to completely reload all data displayed ba this RMStepsBar. Any changes will not be animated.

Declared In

RMStepsBar.h

setHideCancelButton:animated:

- (void)setHideCancelButton:(BOOL)newHideCancelButton animated:(BOOL)animated
Discussion

Used to show or hide the cancel button with animation

Parameters

newHideCancelButton

If YES the cancel button will be hidden. If NO the cancel button will be shown.

animated

If YES the transition will be animated. If NO the transition will not be animated.

Declared In

RMStepsBar.h

setIndexOfSelectedStep:animated:

- (void)setIndexOfSelectedStep:(NSUInteger)newIndexOfSelectedStep animated:(BOOL)animated
Discussion

Used to set the index of the selected step.

Parameters

newIndexOfSelectedStep

The index of the new selected step.

animated

Enable or disable animations.

Declared In

RMStepsBar.h