PaperFold-for-iOS icon indicating copy to clipboard operation
PaperFold-for-iOS copied to clipboard

LeftViewController tableview datasource method cellForRowAtIndexPath not being called.

Open patelrohan opened this issue 12 years ago • 0 comments

I followed the Paperfold-NavDemo project. Everything is working perfect but LeftviewController datasource method cellForRowAtIndexPath not getting called. I tried it two different ways:

  1. Took new class of UITableViewController @interface LeftViewController : UITableViewController

  2. took new class of UIViewController in new class LeftViewController1.h @interface LeftViewController1 : UIViewController<UITableViewDataSource,UITableViewDelegate>

took tableview in .xib. Made datasource, Delegate connection. Also coded in viewDidLoad

  • (void)viewDidLoad { self.tableVw.delegate=self; self.tableVw.dataSource=self; }

-(void)viewWillAppear:(BOOL)animated { [self.tableVw reloadData]; }

Hence no success. Only numberOfSectionsInTableView data source method is getting called. Code acting weirdly. :(

patelrohan avatar Jan 18 '13 09:01 patelrohan