To run the example project, clone the repo, and run pod install
from the Example directory first.
- Xcode 10+
- Swift 4.2+
- iOS 8.0+
ANZSingleImageViewer is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ANZSingleImageViewer'
class ViewController: UIViewController {
private func openImage(_ image: UIImage) {
ANZSingleImageViewer.showImage(image, toParent: self)
}
}
class ViewController: ANZSingleImageViewerSourceTransitionDelegate {
func viewerTargetImageView() -> UIImageView? {
return targetImageView
}
}
anzfactory, anz.factory@gmail.com
ANZSingleImageViewer is available under the MIT license. See the LICENSE file for more info.