Tuesday, 20 August 2013

TableView and Storyboards

TableView and Storyboards

I have an iphone app where I set a main table according to data received
over the internet:
bList = [[BeerList alloc] initListWithData:array];
[mainTable setDataSource:bList];
[mainTable setDelegate:bList];
[self.mainTable reloadData];
Which works fine in the first view. I have a secondary view controller
which alters some properties and returns to this initial view. On the
return to the initial view the table doesn't redraw. Though the request
for "numberOfRowsInSection" returns a positive number, the cells don't
appear in the UI. Is there something weird about storyboards that would
cause this?

No comments:

Post a Comment