I am in a need for someone to help me out on switching custom cells when selected using didSelectRowAtIndexPath, so the idea is to have custom cell1 set as a state and when the user selects it this will disappear and cell2 will fade in which shows the capital of that state but other cells will remain as cell1 (or states) except the one which was selected.
I am in a need for someone to help me out on switching custom
Share
This is how I’d do it…
tableView.h:
tableview.m (add these methods) :
in -(void)viewDidLoad add:
change:
add: