TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2016 |
SPMSupports SPM | ✗ |
Maintained by Rahul Katariya.
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
}
}
Rahul Katariya, [email protected]
RKParallaxEffect is available under the MIT license. See the LICENSE file for more info.