Apneist Apneist - 24 days ago 14
iOS Question

Scratch Card effect in Swift 3

I am trying to implement a Scratch Card effect in Swift 3 for my app, I found some examples but they're on Objective C (show scratch-card effect with the help of using scratch and win example)

In essence user swipes with finger on an image and reveals another image below their finger as they swipe.

Any one knows how to do this in Swift 3? Any help greatly appreciated

Answer

You can use ScratchCard library. It has simple API, but I don't know is it Swift 3 compatible. Anyway, you can rewrite it or check its implementation.