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

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -