Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Repository files navigation

CI StatusSwift 3.1Carthage compatibleVersionPlatforms iOSLicense MIT

Single image view

Gallery

For the latest changes see the CHANGELOG

Install

CocoaPods

pod'ImageViewer'

Carthage

github"MailOnline/ImageViewer"

Sample Usage

For a detailed example, see the Example!

// Show the ImageViewer with the first item
self.presentImageGallery(GalleryViewController(startIndex:0, itemsDataSource:self))
// The GalleryItemsDataSource provides the items to show
extensionViewController:GalleryItemsDataSource{func itemCount()->Int{return items.count
}func provideGalleryItem(_ index:Int)->GalleryItem{returnitems[index].galleryItem
}}

ImageViewer version vs Swift version.

ImageViewer 5.0+ is Swift 4 ready! 🎉

If you use earlier version of Swift - refer to the table below:

Swift versionImageViewer version
4.x>= 5.0
3.x4.0
2.33.1 ⚠️
2.2<= 2.1

License

ImageViewer is licensed under the MIT License, Version 2.0. See the LICENSE file for more info.

Copyright (c) 2016 MailOnline

About

An image viewer à la Twitter

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages