• Stars
    star
    196
  • Rank 198,553 (Top 4 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 10 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

UIViewController category with methods to make fancy tutorials.

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.