OffsetCoordinator
OffsetCoordinator copied to clipboard
🍏 Handle the header view position when having multiple scroll views.
OffsetCoordinator
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Swift 4.0, iOS >= 10.0 Dependence: RxSwift, RxCocoa
Installation
OffsetCoordinator is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'OffsetCoordinator'
Usage
Create multiple tab viewcontrollers by UIPageViewController or any libs.
self.offsetCoordinator = OffsetCoordinator(headerView: self.headerView,
menuView: self.menuView,
viewControllers: self.viewControllers)
Author
goldmoment, [email protected] fb/goldmoment tw/goldmoment
License
OffsetCoordinator is available under the MIT license. See the LICENSE file for more info.