views:

43

answers:

1

Hello,

I am using MGTwitterEngine, and I have everthing working fairly smoothly. I am using it for an iPad program, and currently I have a UIView with a UITableView inside. I want to reload the table, but because I am using a UIViewController, I can't figure out how to target it. I understand the widely used method is:

- (void)viewWillAppear:(BOOL)animated {
    [tableView reloadData];
}

This doesn't work for me due to the projects hierarchy. I've tried targeting it like this:

- (void)viewWillAppear:(BOOL)animated {
     [myTableview reloadData];
}

Or this..

- (void)viewWillAppear:(BOOL)animated {
     [view.tableView reloadData];
}

But nothing seems to work. Any ideas? This probably a very newbie question.

+2  A: 

In your controller, set up an IBOutlet you will connect to the tableview, it's that easy.

jer