Skip to content

christianhatch/SimpleImageSlider

Repository files navigation

SimpleImageSlider

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.

Requirements

Installation

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, adding SimpleImageSlider as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/christianhatch/SimpleImageSlider", .upToNextMajor(from: "3.1.0"))
]

CocoaPods

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

pod 'SimpleImageSlider'

Author

Christian Hatch, christianhatch@gmail.com

License

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

About

A simple view to create a scrollable gallery of images

Resources

License

Stars

Watchers

Forks

Packages

No packages published