cwRichardKim / RKSwipeCards

The basics of a swipeable card interface inspired by Tinder
MIT License
2.17k stars 61 forks source link

How to delete old card and add new cards #27

Closed arishanapalli closed 7 years ago

arishanapalli commented 8 years ago

Hi TinderSimpleSwipe Cards is awasome one.

I want to delete old cards which are already added to my draggaableView. on services call i got 5 new cards now i want to remove old cards and added this five news cards. Is there any best way to do this, please let me know. Your feedback is appreciated.

cwRichardKim commented 7 years ago

remove from where? from your server or from the user's device? You can delete data from whatever array you're using as your datasource. For example, if you're using examplelabels, you can use remove object, or change the datalabel to be mutable (i think it might already be mutable?). until further clarification, i'm going to close this issue