The project provides en effect when the user swipes the finger over one texture and by swiping revea...
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
This is an Objective-C class that helps create a masking effect similar to a scratch card, when swiping on the screen the user can see an image being revealed as he swipes. This is a cool effect that can be applied for a scratch card action or wiping a glass.
Feel free to get in touch with us in regards to any questions or cooperation requests via email [email protected].
The project contains an example, but in general it's really simple.
objc MDScratchImageView *scratchImageView = [[MDScratchImageView alloc] initWithFrame:imageView.frame]; scratchImageView.image = image;That's it!