The way to impress users on the first app launch.
Switch branches/tags
Nothing to show
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.
RMParallax.xcodeproj
RMParallax
.gitignore
.travis.yml
README.md

README.md

RMParallax

Build Status Swift 3 Platforms Twitter

RMParallax is a library designed to help you introduce the features of your app on the first app launch. See it in action.

Requirements

  • iOS 9.0+
  • Xcode 8.0+
  • Swift 3.0+

Installation

  • Add RMParallax folder containing RMController.swift, RMItem.swift, RMStyle.swift to your project
  • There is no step two

Usage

RMParallax is simple to use. All you have to do is create RMItem:

let item1 = RMItem(image: UIImage(named: "item1")!, text: "SHARE LIGHTBOXES WITH YOUR TEAM")
let item2 = RMItem(image: UIImage(named: "item2")!, text: "FOLLOW WORLD CLASS PHOTOGRAPHERS")
let item3 = RMItem(image: UIImage(named: "item3")!, text: "EXPLORE OUR COLLECTION BY CATEGORY")
let items = [item1, item2, item3]

Create RMParallax controller with items you created earlier:

let introducing = RMController(with: items)
introducing.dismiss = {
	introducing.view.removeFromSuperview()
	introducing.removeFromParentViewController()
}

Add your RMParallax controller to the view controller:

addChildViewController(introducing)
view.addSubview(introducing.view)
introducing.didMove(toParentViewController: self)

RMParallax uses closures to notify presenting view controller when the user is done paging through.

Please checkout included sample project.

Creators