kronik / UIViewController-Tutorial

UIViewController category with methods to make fancy tutorials.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Screenshot

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.

About

UIViewController category with methods to make fancy tutorials.

License:MIT License


Languages

Language:Objective-C 100.0%