ZoomableImageSlider
ZoomableImageSlider copied to clipboard
ZoomableImageSlider
ZoomableImageSlider is a simple iOS library for showing images from url in form of slider. It has following features-
- Images are zoomable by double tap and by panning the finger as well.
- Images are loaded from url (from internet).
- Shows the image index as well.
- Close the slider by simply swiping down
- Support for all device orientations
Usage
let images = ["http://www.kurzweilai.net/images/iPhone4-S.jpg", "https://s-media-cache-ak0.pinimg.com/originals/93/aa/25/93aa2535372bb8d37ed42864ad55d904.jpg", "http://images.efulfilment.de/get_image/?t=29A598C0F35F861AECC5DF972434840B", "http://images.all-free-download.com/images/graphicthumb/monitor_the_cameras_02_hd_picture_168726.jpg"]
let slider = ZoomableImageSlider(images: images, currentIndex: 2, placeHolderImage: nil)
self.present(slider, animated: true, completion: nil)
Example
To run the example project, clone or download the repo, and run the project from the Example directory.
Installation
ZoomableImageSlider is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "ZoomableImageSlider"
Author
Vishwas Singh, [email protected]
License
ZoomableImageSlider is available under the MIT license. See the LICENSE file for more info.