How to rewind the last napkin like Tinder

I am working on an iOS app (using Objective-C).

I use the MDCSwipeToChoose API to flip through a view (like and dislike).

I want to add another button to the application (rewind the last hit, like a tinder ).

+5
source share
3 answers

It looks like you want NSUndoManager. See the links below.

Implement NSUndoManager

http://nshipster.com/nsundomanager/

+1
source

You can create a separate manager that will process the current card number. With the repeated action of the button, you can delete the previous map and animate the appearance of the new one. You can see how we implement this manager here: https://github.com/Yalantis/Koloda

+1
source

You may need CoverFlow, this is a swipe animation, like a tinder, using a collection.

Link to link here: https://github.com/Mindinventory/CoverFlow

-1
source

Source: https://habr.com/ru/post/987196/


All Articles