uitableview - Mark tableview cell as completed when user user returns from subview -


i writing application teaches user in lessons separated sections. have tableview filled custom tableview cells have check mark want unhide when user completes lesson , lesson view popped table. there way viewwillappear called can unhide checkmark label in specific tableview cell?

i store information in nsdictionary. in case, when user loads lesson, can add bool value nsdictionary mean lesson complete, in cellforrowatindexpath: delegate, add this:

if([plistdict objectforkey:@"kcomplete"] == yes){     cell.accessorytype = uitableviewcellaccessorycheckmark; }else{     cell.accessorytype = uitableviewcellaccessorynone; }        

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -