Skip to content

swieeft/SwieeftImageViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwieeftImageViewer

iOS image viewer similar to Facebook.

Usages

public func show(originImageView: UIImageView?, contentsText: String?)
import SwieeftImageViewer

class ViewController: UIViewController {

  var imageViewer: SwieeftImageViewer!

  // init
  override func viewDidLoad() {
    super.viewDidLoad()
  
    imageViewer = SwieeftImageViewer(parentView: self.view)
  }
  
  func showImageViewer(imageView: UIImageView?, text: String?) {
    imageViewer.show(originImageView: imageView, contentsText: text)
  }
}

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects.

To install SwieeftImageViewer, simply add the following line to your Podfile:

pod 'SwieeftImageViewer', '~> 1.0.2'

LICENSE

The MIT License

SwieeftImageViewer is released under the MIT license. See LICENSE for details.

About

iOS image viewer similar to Facebook.

Resources

License

Stars

Watchers

Forks

Packages

No packages published