RKParallaxEffect 2.0.0

RKParallaxEffect 2.0.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Oct 2016
SPMSupports SPM

Maintained by Rahul Katariya.



RKParallaxEffect

Preview

Requirements

  • iOS 8.0+
  • Xcode 8.0+

Usage

import RKParallaxEffect

class TableViewController: UITableViewController {

    var parallaxEffect: RKParallaxEffect!

    override func viewDidLoad() {
        super.viewDidLoad()
        parallaxEffect = RKParallaxEffect(tableView: tableView)
    }

    override func viewDidAppear(animated: Bool) {
        super.viewDidAppear(animated)
        parallaxEffect.isParallaxEffectEnabled = true
        parallaxEffect.isFullScreenTapGestureRecognizerEnabled = true
        parallaxEffect.isFullScreenPanGestureRecognizerEnabled = true
    }

}

Author

Rahul Katariya, [email protected]

License

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