objective c - Passing Data between two UITableViews -
how can pass datas between 2 uitableviews? 1 tableview should have multiple defined rows check marks (like setup panel). checked rows in tableview 1 should visible in second tableview. idea or code example this? thanks.
you need provide common model data (typically array) , have both tableview datasources use common model data.
how each datasource presents data them, , influence how each table presents data. if 1 tableview "edits" model data, other tableview can told redraw item in data array. works both ways.
this classic mvc (m = data, v = tableview, c = tableview.datasource).
Comments
Post a Comment