SAStickyHeader
SAStickyHeader copied to clipboard
A very simple sticky header with multiple image support via swipe gestures
trafficstars
SAStickyHeader
[](https://travis-ci.org/Shams Ahmed/SAStickyHeader)
Usage
To run the example project, clone the repo, and run pod install from the Example directory first.
Screenshot

Installation
SAStickyHeader is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SAStickyHeader"
Instruction
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.
Author
Shams Ahmed, [email protected]
License
SAStickyHeader is available under the MIT license. See the LICENSE file for more info.