cwRichardKim / RKSwipeCards

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

eh.. how to reload the data. #31

Closed Object-z closed 7 years ago

Object-z commented 7 years ago

maybe i want to know how to Judge the dataSouce reached the end of all cards.

cwRichardKim commented 7 years ago

when you swipe, check to length of the array you're using as a datasource. if it's 0, you know you've hit the end