Reputation: 7774
I've enclosed a screen dump to make things easier to follow.
I've attached my outlets for datasource and delegate and I've created an outlet for my table view, but reloadData doesn't work?
Ideally I'd like to only call reloadData after the view has been loaded once?
Upvotes: 5
Views: 12671
Reputation: 459
If the main view of your UITableViewController is your table view, you can avoid using IBOutlets and use directly the tableView property of your controller. Like this:
[self.tableView reloadData];
Upvotes: 2
Reputation: 4352
Create a property for your UITableView
and use the property as your IBOutlet
, using the ivar directly isn't the way to do it. Hook things up again and debug it, to see if your UITableView
isn't nil.
Put a breakpoint in the UITableView
datasource methods to see if they get called, if they are, check if your transactionsArray actually contains items.
If this doesn't help, you'll have to provide more info like which methods are being called and more code.
Upvotes: 6