[![CI Status](http://img.shields.io/travis/Shams Ahmed/SAStickyHeader.svg?style=flat)](https://travis-ci.org/Shams Ahmed/SAStickyHeader)
To run the example project, clone the repo, and run pod install
from the Example directory first.
SAStickyHeader is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SAStickyHeader"
let images = [UIImage(named: "gracehoppertocat"), UIImage(named: "hipster-partycat")]
tableView.tableHeaderView = SAStickyHeaderView(frame: CGRectMake(0, 0, CGRectGetWidth(self.view.frame), 400), table: tableView, image: images)
Add SAStickyHeaderView
in viewDidLoad
or in viewForHeaderInSection
tableView delegate method, pass the frame, current table and a array of images.
Shams Ahmed, [email protected]
SAStickyHeader is available under the MIT license. See the LICENSE file for more info.