Problem in connecting to tableView


#1

for connecting the channel & items I have implemented the following method (as shown on page 423)

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

But while running the application it throws an exception (Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:’ )

& doesnt display any result in the tableView. I checked the code 4 to 5 times, everything is fine, but dont understand why it is giving this problem.

has anyone of you have faced the similar problem? pls share your experience / guide me how to solve this.

thanks
sachin


#2

its working now…i didnt change anything. but when i ran the same code after some time it started working fine. i am using “XCode 4.0.2 iOS SDK 4.3 on snow leopard 10.6.8”