Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to rewind last swipe like Tinder

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

I am using MDCSwipeToChoose API to swipe a view (like & dislike).

I want to add one more button in the App (rewind last swipe like tinder).

like image 373
Rahul Saini Avatar asked Nov 01 '22 04:11

Rahul Saini


1 Answers

Sounds like you want NSUndoManager. See the following links for examples.

Implementing NSUndoManager

http://nshipster.com/nsundomanager/

like image 120
Andrew Avatar answered Nov 14 '22 14:11

Andrew