Skip to content

ComparatorView is a class that extends the UIImageView, and the ideia is to use it to compare a image with view to see if it is looking the way it may look.

License

Notifications You must be signed in to change notification settings

gustavoggs/CCComparatorView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

CCComparatorView is a class that extends the UIImageView class.

It is created to compare the way the view is looking with an image. This is created by the need to do pixel perfect screens and to adjust things exactly like it look in the image.

How to use

You just need to add the ComparatorView in your view and bring it to front. To set the image you can just do that the way you do in UIImageView

To increase the alpha you just need to pan up with one finger. To decrease the alpha you just need to pan down with one finger.

If you pan with two finger the alpha is set to 0 and you can use your view.

About

ComparatorView is a class that extends the UIImageView, and the ideia is to use it to compare a image with view to see if it is looking the way it may look.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published