ios - How do you give cells in a TableView a unique reference -


i'm still new ios development, bear me.

i've got tableview using static cells contain options (click check), able select cells fine. i'd assign value (identifier) each cell, when cell selected or de-selected can add/remove array. then, once editing has finished, use references stored in array update respective coredata attributes.

my google skills have failed me today, push in right direction appreciated.

thanks.

nsindexpath best tool that! unique selected cell.

- (void)tableview:(uitableview *)tableview didselectrowatindexpath:(nsindexpath *)indexpath {     nslog(@"%i", indexpath.row);     nslog(@"%i", indexpath.section); } 

and think need this:

[yourarray objectatindex:indexpath.row];  

to reference .


Comments

Popular posts from this blog

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

ruby on rails - Authlogic - how to make a registration and don't log in the new account? -