CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Dec 2016 |
SwiftSwift Version | 3.0.1 |
SPMSupports SPM | ✗ |
Maintained by Yannick Heinrich.
Simple library based on work done on MXParallaxHeader helping to create a sticky header for an UIScrollView.
To add a sticky header:
// Create the header
let view = UIView(frame: CGRect(x: 0, y: 0, width: 0, height: 100))
view.backgroundColor = UIColor.blueColor()
view.translatesAutoresizingMaskIntoConstraints = false
// Add the header to the table view
self.tableView.stickyHeader.view = self.headerView
self.tableView.stickyHeader.height = 200
self.tableView.stickyHeader.minimumHeight = 100
StickyHeader is released under the MIT license. See LICENSE for details.