Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 549 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 549 Bytes

Simple full screen UIImage viewer

Installation

Carthage

Simply add the dependency to your Cartfile

github "Tovkal/ImageViewer"

then carthage update and add it to your project.

Cocoapods

Add the following to your Podfile

pod 'ImageViewer', :git => 'https://github.com/tovkal/ImageViewer'

Usage

Simply pass the UIImageView you want to display and the VC presenting ImageViewer, where the imageView is currently displayed.

ImageViewer.showImage(imageView: imageView, presentingVC: self)