Tuesday, 10 September 2013

UITableView is null after first data load, reloadData does not work

UITableView is null after first data load, reloadData does not work

I have a custom UIView with a UITableView in it. I connect the delegate
and dataSource via interface builder, it looks like this:
http://postimg.org/image/nj9elaj4h/ (may not upload images yet :( )
When I load the view, the data is displayed as it should be. But when I
try to call reloadData, nothing happens. I checked if the uitableview is
set, but it is NULL. But as soon as I drag the tableView and it reloads it
views, the new data is presented. Anyone got an idea why reloadData does
not work?
.h looks like this:
@interface NextTitleView :
UIView<UITableViewDataSource,UITableViewDelegate,SociusClientDelegate,UIActionSheetDelegate,Ne
xtTitleCustomCellDelegate>
{
NexTitleCustomCell* _cellInFocus;
}
@property(nonatomic,retain)IBOutlet UITableView* _tableViewNextTitle;
@end
thanks for your help :D

No comments:

Post a Comment