UIViewController+Tutorial
Sources of UIViewController+Tutorial and Demo app to show fancy on-boarding tutorials.
##Download $ git clone https://github.com/kronik/UIViewController-Tutorial.git $ cd UIViewController-Tutorial/
##Usage Please check out the demo project included.
Initialization
#import "UIViewController+Tutorial.h"
Trigger navigation tutorial
- (void)viewDidAppear: (BOOL)animated{
[super viewDidAppear:animated];
[self startNavigationTutorial];
}
Trigger create new item tutorial
- (void)viewDidAppear: (BOOL)animated{
[super viewDidAppear:animated];
[self startCreateNewItemTutorialWithInfo:NSLocalizedString(@"Pull down to create new item", nil)];
}
Trigger tap to open settings tutorial
- (void)viewDidAppear: (BOOL)animated{
[super viewDidAppear:animated];
[self startTapTutorialWithInfo:NSLocalizedString(@"Tap here to open settings", nil)
atPoint:CGPointMake(160, 350)
withFingerprintPoint:CGPointMake(160, 200)
shouldHideBackground:NO];
}
##Requirements Supported build target - iOS 7.x Earliest supported deployment target - iOS 7.0
##License UIViewController+Tutorial is available under the MIT license. See the LICENSE file for more info.