Ios 7 dequeueReusableCellWithIdentifier: forIndexPath method - do I need a registerClass method

I am using ios 7.

Quick question. I have a working program that uses dequeueReusableCellWithIdentifier: forIndexPath to display cells with two different prototypes. I have never used the listClass UITableView method.

Does this mean that I am not reusing cells? I think this is not the case (since I fixed the errors in this application related to cells preserving previous states).

If I actually use registerClass now (in viewDidLoad for tableVieW), my data is not displayed - any ideas why?

Thanks!

UPDATE I am adding registerClass code to viewDidLoad as follows:

[self.tableView registerClass:[ProtoCell1 class] forCellReuseIdentifier:@"proto1"];
[self.tableView registerClass:[ProtoCell2  class] forCellReuseIdentifier:@"proto2"];
+4
1

, .

 registerClass:forCellWithReuseIdentifier

, Interface Builder.

  dequeueReusableCellWithReuseIdentifier: 

+8

All Articles