- Add more example and test
- Support Swift4
import ParallaxPagingViewControllerneeds extends for pageview
class ParallaxChildViewController: ParallaxViewController { override func viewDidLoad() { super.viewDidLoad() } }@IBInspectable var parallaxImage: UIImage? // required set imageIf you customize pagingViewController, needs extends .
- initializer
init(_ viewControllers: [ParallaxViewController] = [])- variable
var pageSpace: CGFloat // for page spacevar parallaxSpace: CGFloat // for parallax animation spacevar currentPageIndex: Int // first page view index- function
func setInfinite(_ enabled: Bool) // set infinite paging enabled /* [important] infinite scroll needs more than three viewControllers */func setViewControllers(controllers: [ParallaxViewController]) // set childViewControllers- function
optional func parallaxPagingView(_ pagingViewController: ParallaxPagingViewController, willMoveTo viewController:ParallaxViewController)optional func parallaxPagingView(_ pagingViewController: ParallaxPagingViewController, didMoveTo viewController:ParallaxViewController)- iOS 8.0 or later
- Swift 3.1 / Xcode 8.3
- insert to
Podfile
pod 'ParallaxPagingViewController', '~> 0.8.0'
- run
pod install
MIT License Copyright (c) 2017 Tomoki_Takahashi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
