Popularity
8.6
Stable
Activity
0.6
Declining
2,150
70
291

Code Quality Rank: L3
Monthly Downloads: 0
Programming language: Swift
License: MIT License
Tags: Images    
Latest version: v5.1.0

ImageViewer alternatives and similar libraries

Based on the "Images" category

Do you think we are missing an alternative of ImageViewer or a related project?

Add another 'Images' Library

README

CI Status Swift 3.1 Carthage compatible Version Platforms iOS License MIT

Single image view

Gallery

For the latest changes see the [CHANGELOG](CHANGELOG.md)

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
extension ViewController: GalleryItemsDataSource {
    func itemCount() -> Int {
        return items.count
    }

    func provideGalleryItem(_ index: Int) -> GalleryItem {
        return items[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 version ImageViewer version
4.x >= 5.0
3.x 4.0
2.3 3.1 [⚠️](CHANGELOG.md#version-31)
2.2 <= 2.1

License

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

Copyright (c) 2016 MailOnline


*Note that all licence references and agreements mentioned in the ImageViewer README section above are relevant to that project's source code only.