All the cells in my table are blank. I noticed that tableView:cellForRowAtIndexPath is not being called, which I think is causing this to happen. What calls this method?
+2
A:
The tableview calls its datasource methods.
In order for cellForRowAtIndexPath:
to be called, there needs to be rows in the tableview, which the method numberOfRowsInSection
is for.
Hop on over to the Apple documentation on the UITableViewDataSource
protocol.
Jacob Relkin
2010-07-26 20:55:24