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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -