Daniel
Daniel

Reputation: 1295

iOS UITableView instance variable?

I'm building an app with a UITableView and search function. But when I try to reload the UITableView with this code:

[self.tableView reloadData];

The property UITableView is not found. I'm new to iOS but I think the instance variable of the UITableView is wrong. How/where do I declare of find it?

Upvotes: 0

Views: 469

Answers (1)

craig1231
craig1231

Reputation: 3867

self.tableView is a derived instance variable if the base class is UITableViewController

Check the doc... UITableViewController Class Reference

Upvotes: 1

Related Questions