Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LeftViewController tableview datasource method cellForRowAtIndexPath not being called. #48

Open
patelrohan opened this issue Jan 18, 2013 · 0 comments

Comments

@patelrohan
Copy link

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. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant