I am using ios 7.
Quick question. I have a working program that uses dequeueReusableCellWithIdentifier:forIndexPath to display cells with two different prototypes. I never used the UITableView registerClass method.
Does this mean that I am not reusing the cells? My thinking is that this is not the case (as I have fixed bugs before in this app which were related to cells retaining prior states).
If I actually use registerClass now (in viewDidLoad for the tableVieW), my data is not being shown - any ideas why?
Thank you!
UPDATE I add the registerClass code in viewDidLoad as follows:
[self.tableView registerClass:[ProtoCell1 class] forCellReuseIdentifier:@"proto1"];
[self.tableView registerClass:[ProtoCell2 class] forCellReuseIdentifier:@"proto2"];