Latest 1.0.5
Homepage https://github.com/christianhatch/SimpleImageSlider
License MIT
Platforms ios 9.0
Dependencies AFNetworking, PureLayout
Authors

Version
License
Platform

Example

Sample

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

Usage

SimpleImageSlider can be initialized with an array of NSURL objects that point to images, or with an array of UIImage objects. These will populate the ImageSlider. Check out the examples to see how to instantiate a SimpleImageSlider with images, urls, in code, and via Interface Builder.

Parallax

To enable the parallax (‘stretchy header’) feature, call
- (void)addParallaxToScrollView:(nonnull UIScrollView *)scrollView
passing the scrollview (or subclass, such as UICollectionView or UITableView) to which you want to add the SimpleImageSlider.
You must also call
- (void)scrollViewScrolled:(nonnull UIScrollView *)scrollView
on the SimpleImageSlider as the scrollview scrolls, to update the parallax effect; pass the scrollview from the
- (void)scrollViewDidScroll(UIScrollview *)scrollView
scrollview delegate method into the above method on the SimpleImageSlider. See the example for more details.

Requirements

Installation

SimpleImageSlider is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SimpleImageSlider'

Author

Christian Hatch, [email protected]

License

ImageSlider is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SimpleImageSlider",
    "version": "1.0.5",
    "summary": "SimpleImageSlider is a simple view that creates a scrollable gallery of images.",
    "description": "SimpleImageSlider is a simple image gallery view that allows a user to scroll horizontally through an array of images. Great for collection view and table view headers, or anywhere you need an image gallery!",
    "homepage": "https://github.com/christianhatch/SimpleImageSlider",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Christian Hatch": "[email protected]"
    },
    "source": {
        "git": "https://github.com/christianhatch/SimpleImageSlider.git",
        "tag": "1.0.5"
    },
    "social_media_url": "https://twitter.com/commodoreftp",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "SimpleImageSlider/Classes/**/*",
    "dependencies": {
        "AFNetworking": [],
        "PureLayout": []
    }
}

Pin It on Pinterest

Share This