Latest 0.3.0
Homepage https://github.com/anzfactory/ANZSingleImageViewer
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

Version
License
Platform

ANZSingleImageViewer

Example

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

Requirements

  • Xcode 10+
  • Swift 4.2+
  • iOS 8.0+

Installation

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

pod 'ANZSingleImageViewer'

Sample Usage

class ViewController: UIViewController {

    private func openImage(_ image: UIImage) {

        ANZSingleImageViewer.showImage(image, toParent: self)
    }
}

Zoom Transition

class ViewController: ANZSingleImageViewerSourceTransitionDelegate {

    func viewerTargetImageView() -> UIImageView? {

        return targetImageView
    }
}

Author

anzfactory, [email protected]

License

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

CREDIT

Unsplash

Latest podspec

{
    "name": "ANZSingleImageViewer",
    "version": "0.3.0",
    "summary": "Simple image viewer",
    "description": "ANZSingleImageViewer is simple image viewer.",
    "homepage": "https://github.com/anzfactory/ANZSingleImageViewer",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "anzfactory": "[email protected]"
    },
    "source": {
        "git": "https://github.com/anzfactory/ANZSingleImageViewer.git",
        "tag": "0.3.0"
    },
    "social_media_url": "https://twitter.com/AnzNetJp",
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "4.2",
    "source_files": "ANZSingleImageViewer/Classes/**/*",
    "resource_bundles": {
        "ANZSingleImageViewer": [
            "ANZSingleImageViewer/Assets/*.png"
        ]
    },
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This