ios - How to delete rows from UITableView based on date -
i have uitableview displaying entries, , underlying array entries. want delete entries older specific number of days.
my question is, performant way that?
- go through array, compare dates , delete old entries , delete corresponding rows in tableview
or
- go through tableview's rows, compare dates , delete rows , corresponding entries in array
does know best way this? there "best" way?
Comments
Post a Comment