Skip to content
Easy to use Intro for introducing your App on first launch.
Objective-C Shell Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
NDParallaxIntroView
LICENSE
NDParallaxIntroView.podspec
README.md
_Pods.xcodeproj

README.md

NDParallaxIntroView

[![CI Status](http://img.shields.io/travis/Simon Wicha/NDCollapsiveDatePicker.svg?style=flat)](https://travis-ci.org/Simon Wicha/NDCollapsiveDatePicker) Version License Platform

This is the pod version of NDParallaxIntroView, which provides a very easy to use and beautiful parallax IntroView for your App to onboard user. The non-pod version is available on https://github.com/s1m-0n/NDParallaxIntroView

Installation

NDParallaxIntroView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'NDParallaxIntroView'

Usage

Create a strong property of NDParallaxIntroView in your class from which you want to trigger your intro.

#import <NDParallaxIntroView/NDIntroView.h>

@property (strong, nonatomic) NDIntroView *introView;

@interface ViewController : UIViewController <NDIntroViewDelegate>

Usage:

self.introView = [[NDIntroView alloc] initWithFrame:self.view.frame parallaxImage:[UIImage imageNamed:@"parallaxBgImage"] andData:pageContentArray];
self.introView.delegate = self;
[self.view addSubview:self.introView];

Important - You need to create the pageContentArray first which follows an easy structure (see example below). All values are optional so don't worry about the app crashing when you forget something ;)

 NSArray *pageContentArray = @[@{kNDIntroPageTitle : @"NDParallaxIntroView",
                                        kNDIntroPageDescription : @"Now you can easily add your beautiful intro into your app with no hassle.",
                                        kNDIntroPageImageName : @"parallax"
                                        },
                                      @{kNDIntroPageTitle : @"Work-It-Out",
                                        kNDIntroPageDescription : @"A great App to create your own personal workout and get instructed by your phone.",
                                        kNDIntroPageImageName : @"workitout"
                                        },
                                      @{kNDIntroPageTitle : @"ColorSkill",
                                        kNDIntroPageDescription : @"A small game while waiting for the bus. Easy, quick and addictive.",
                                        kNDIntroPageImageName : @"colorskill"
                                        },
                                      @{kNDIntroPageTitle : @"Appreciate",
                                        kNDIntroPageDescription : @"A little helper to make your life happier. Soon available on the AppStore",
                                        kNDIntroPageImageName : @"appreciate"
                                        },
                                      @{kNDIntroPageTitle : @"Do you like it?",
                                        kNDIntroPageImageName : @"firstImage",
                                        kNDIntroPageTitleLabelHeightConstraintValue : @0,
                                        kNDIntroPageImageHorizontalConstraintValue : @-40
                                        }
                                      ];
self.introView = [[NDIntroView alloc] initWithFrame:self.view.frame parallaxImage:[UIImage imageNamed:@"parallaxBgImage"] andData:pageContentArray];
self.introView.delegate = self;
[self.view addSubview:self.introView];

Delegate method implementation is required

-(void)launchAppButtonPressed

Screenshot

Animated gif of working NDParallaxIntroView

Author

Simon Wicha | simon.wicha@nomis-development.net

License

NDParallaxIntroView is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.