Latest 0.0.1
Homepage https://github.com/5un/SUImageComparisonView
License MIT
Platforms ios 8.0, requires ARC
Authors

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

An iOS Swift Custom View that let you swipe to compare two images like:
alt text

Features

  • Support 2 UIImages
  • The view contentMode property will be applied to the internal UIImageViews
  • Configurable initial slider position. Snappable left and right slider position (In case you want to slightly reveal the other image)

Usage

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

Requirements

Installation

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

pod "SUImageComparisonView"

Author

Soravis Prakkamakul, [email protected]

License

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

Latest podspec

{
    "name": "SUImageComparisonView",
    "version": "0.0.1",
    "summary": "An iOS View that let you swipe to reveal portions of two images like http://imgur.com/eyxNQM9",
    "description": "An iOS View that let you swipe to reveal portions of two images like http://imgur.com/eyxNQM9 n  Featuresn    Support 2 UIImagesn    The view contentMode property will be applied to the internal UIImageViews.n    Configurable initial slider position. Snappable left and right slider position (In case you want to slightly reveal the other image). n    Configurable left and right image tint.",
    "homepage": "https://github.com/5un/SUImageComparisonView",
    "screenshots": "http://i.imgur.com/eyxNQM9.gif?1",
    "license": "MIT",
    "authors": {
        "Soravis Prakkamakul": "[email protected]"
    },
    "source": {
        "git": "https://github.com/5un/SUImageComparisonView.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "SUImageComparisonView": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This