Conforms to NSObject
Declared in TNTutorialManager.h

Tasks

Instance Methods

tutorialButtonsColor

- (UIColor *)tutorialButtonsColor

tutorialHasSkipButton:

- (BOOL)tutorialHasSkipButton:(NSInteger)index

tutorialIdentifier

- (NSString *)tutorialIdentifier

tutorialMasterView

- (UIView *)tutorialMasterView
Discussion

The tutorialMasterView is the UIView that will add the tutorialView as a subview.

Declared In

TNTutorialManager.h

tutorialMaxIndex

- (NSInteger)tutorialMaxIndex
Discussion

This method should return the max index of the tutorial. The index should be the number of steps the tutorial has.

Declared In

TNTutorialManager.h

tutorialPerformAction:

- (void)tutorialPerformAction:(NSInteger)index
Discussion

Perform actions for a tutorial step, example: Tap a certain button.

Declared In

TNTutorialManager.h

tutorialPreActionDelay:

- (CGFloat)tutorialPreActionDelay:(NSUInteger)index
Discussion

This optional method should return the delay in seconds that the tutorialManager should wait before performing the next highlight, it is used in case there’s a UI update that needs to be done.

Declared In

TNTutorialManager.h

tutorialPreHighlightAction:

- (void)tutorialPreHighlightAction:(NSInteger)index
Discussion

Actions that need to be done before the highlight is done. Example, scroll to a certain UITableViewCell.

Declared In

TNTutorialManager.h

tutorialSkipButtonFont

- (UIFont *)tutorialSkipButtonFont

tutorialSkipButtonTitle

- (NSString *)tutorialSkipButtonTitle

tutorialTextPositions:

- (NSArray<NSNumber*> *)tutorialTextPositions:(NSInteger)index

tutorialTexts:

- (NSArray<NSString*> *)tutorialTexts:(NSInteger)index

tutorialTextsFont:

- (NSArray<UIFont*> *)tutorialTextsFont:(NSInteger)index

tutorialViewsEdgeInsets:

- (NSArray<TNTutorialEdgeInsets*> *)tutorialViewsEdgeInsets:(NSInteger)index

tutorialViewsToHighlight:

- (NSArray<UIView*> *)tutorialViewsToHighlight:(NSInteger)index
Discussion

Methods used for building Tutorial UI.

Declared In

TNTutorialManager.h

tutorialWaitAfterAction:

- (BOOL)tutorialWaitAfterAction:(NSInteger)index
Discussion

This optional method should return NO in case the tutorial shouldn’t update for a certain index. Example: If the UI pushes a new UIViewController and you need to start a new tutorial from inside the new UIViewController.

Declared In

TNTutorialManager.h

tutorialWrapUp

- (void)tutorialWrapUp
Discussion

This required method is used to clean up after the tutorial. Ideally used to set the the TNTutorialManager pointer to nil, and sometimes re-enable UserInteraction for the UI.

Declared In

TNTutorialManager.h