Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

karthiikmk/AppImageViewer

Repository files navigation

AppImageViewer

Version License Platform

Example

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

Requirements

Installation

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

CocoaPods

 pod 'AppImageViewer'

Swift Package Manager

AppImageViewer is available through Swift Package Manager. To install it, simply add the following dependency to your Package.swift

  .package(url: "https://github.com/karthikAdaptavant/AppImageViewer.git", from: "1.6.2")

Usage

 let appImage = ViewerImage.appImage(forImage: tappedImage.image!)
 let viewer = AppImageViewer(originImage: tappedImage.image!, photos: [appImage], animatedFromView: tappedImage)
 viewer.delegate = self
 present(viewer, animated: true, completion: nil)

Author

karthik-ios-dev, [email protected]

License

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