There is any lib or tutorial for iOS like android CoordinatorLayout with custom behavior. Actually I want is appbar scrolling view behaviour in iOS.
This is call parallax view controller.
You can use this library - https://github.com/Vinodh-G/ParallaxTableViewHeader
It is really very good library.
It is able to integrate in swift.
Swift code
let headerView : ParallaxHeaderView = ParallaxHeaderView.parallaxHeaderViewWithImage(UIImage(named: ""), forSize: CGSizeMake(self.tableView.frame.size.height, headerHeight)) as! ParallaxHeaderView
self.tableView.tableHeaderView = headerView
func scrollViewDidScroll(scrollView: UIScrollView) {
let header: ParallaxHeaderView = self.tableView.tableHeaderView as! ParallaxHeaderView
header.layoutHeaderViewForScrollViewOffset(scrollView.contentOffset)
self.tblHealthData.tableHeaderView = header
}
Addtion
There is vertical scrolling segmentation control.
You can easily integrate with https://github.com/HighBay/PageMenu
Just understand 1,thing vertical scrolling segmentation no of controls have only 1 table view.
And you have to add parallax view controller on table view header.
All the best.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With