Latest 0.6.0
Homepage https://github.com/shams-ahmed/SAStickyHeader
License MIT
Platforms ios 8.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Shams Ahmed/SAStickyHeader.svg?style=flat)](https://travis-ci.org/Shams Ahmed/SAStickyHeader)
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Screenshot

Platform

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.

Latest podspec

{
    "name": "SAStickyHeader",
    "version": "0.6.0",
    "summary": "A very simple sticky header with multiple image support via swipe gestures",
    "description": "A very simple sticky header with multiple image support via swipe gestures, allow your users to experience parallax effect with just one line of code. supports portrait and landscape and all iOS devices. tested on iOS 8 and iOS 9",
    "homepage": "https://github.com/shams-ahmed/SAStickyHeader",
    "license": "MIT",
    "authors": {
        "Shams Ahmed": "[email protected]"
    },
    "source": {
        "git": "https://github.com/shams-ahmed/SAStickyHeader.git",
        "tag": "0.6.0"
    },
    "social_media_url": "https://twitter.com/shams5035",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*.{h,m,swift}",
    "resource_bundles": {
        "SAStickyHeader": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This