Latest 1.0
Homepage https://github.com/s1m-0n/NDParallaxIntroView-Pod
License MIT
Platforms ios 8.0
Authors

[![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) NDParallaxIntroView *introView;

@interface ViewController : UIViewController <NDParallaxIntroViewDelegate>

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 | [email protected]

License

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

Latest podspec

{
    "name": "NDParallaxIntroView",
    "version": "1.0",
    "summary": "NDParallaxIntroView is an easy to use InfoView with parallax effect to onboard your users to your iOS App.",
    "description": "NDParallaxIntroView is an easy to use InfoView with parallax effect to onboard your users to your iOS App. You can easily set any image to get the beautiful parallax background and add multiple screens to onboard your users.",
    "homepage": "https://github.com/s1m-0n/NDParallaxIntroView-Pod",
    "license": "MIT",
    "authors": {
        "Simon Wicha": "[email protected]"
    },
    "source": {
        "git": "https://github.com/s1m-0n/NDParallaxIntroView-Pod.git",
        "tag": "1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "resources": "NDParallaxIntroView/Classes/*.{xib}",
    "source_files": "NDParallaxIntroView/Classes/*.{h,m}",
    "resource_bundles": {
        "NDParallaxIntroView": [
            "Pod/**/*.xib"
        ]
    }
}

Pin It on Pinterest

Share This