Skip to content

suomalainen9890/DTPhotoViewerController

 
 

Repository files navigation

DTPhotoViewerController

[![CI Status](http://img.shields.io/travis/Tung Vo/DTPhotoViewerController.svg?style=flat)](https://travis-ci.org/Tung Vo/DTPhotoViewerController) Version License Platform

Example

Screenshot

It is very easy to use DTPhotoViewerController, all you need to do is to get UIImageView and UIImage instances, then:

if let viewController = DTPhotoViewerController(referenceView: imageView, image: image) {
    self.presentViewController(viewController, animated: true, completion: nil)
}

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

DTPhotoViewerController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "DTPhotoViewerController"

Author

Tung Vo, tung98.dn@gmail.com

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 54.8%
  • Shell 37.8%
  • Ruby 5.0%
  • Objective-C 2.4%