Skip to content

PhotoSlider can a simple photo slider and delete slider with swiping.

Notifications You must be signed in to change notification settings

metodowhite/PhotoSlider

 
 

Repository files navigation

PhotoSlider for Swift 2

Carthage compatible

PhotoSlider can a simple photo slider and delete slider with swiping.

Installation

PhotoSlider is available through Carthage.

To install it, simply add the following line to your Cartfile:

github "metodowhite/PhotoSlider" "0.5.1"

Usage

func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {

    var slider = PhotoSlider.ViewController(imageURLs: self.images)
    slider.modalPresentationStyle = .OverCurrentContext
    slider.modalTransitionStyle = UIModalTransitionStyle.CrossDissolve
    slider.index = indexPath.row
    self.presentViewController(slider, animated: true, completion: nil)

}

Requirements

Xcode 7 & Swift 2 is required.

Original Author

nakajijapan, [email protected]

heavily modified to use Carthage, Kingfisher instead SDWebImage, and Swift 2.

License

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

About

PhotoSlider can a simple photo slider and delete slider with swiping.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 98.2%
  • Objective-C 1.8%