Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.44 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.44 KB

SUImageComparisonView

[![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.