PaperFold-for-iOS
PaperFold-for-iOS copied to clipboard
LeftViewController tableview datasource method cellForRowAtIndexPath not being called.
I followed the Paperfold-NavDemo project. Everything is working perfect but LeftviewController datasource method cellForRowAtIndexPath not getting called. I tried it two different ways:
-
Took new class of UITableViewController @interface LeftViewController : UITableViewController
-
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. :(