/OffsetCoordinator

🍏 Handle the header view position when having multiple scroll views.

Primary LanguageSwiftMIT LicenseMIT

OffsetCoordinator

CI Status Version License Platform

Example

alt tag [Youtube]

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, nguyenvanvienqn@gmail.com fb/goldmoment tw/goldmoment

License

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