To run the example project, clone the repo, and run pod install
from the Example directory first.
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.
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"))
]
SimpleImageSlider is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SimpleImageSlider'
Christian Hatch, christianhatch@gmail.com
ImageSlider is available under the MIT license. See the LICENSE file for more info.