Skip to content

5un/SUImageComparisonView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, asunnotthesun@gmail.com

License

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

About

An iOS View that let you swipe to reveal portions of two images like http://imgur.com/eyxNQM9

Resources

License

Stars

Watchers

Forks

Packages

No packages published