Possible Duplicate:
Difference beetween _ and self. in Objective-C
Should I use self.tableView or just tableView by itself.
In my code I’ve noticed that both
[self.view addSubview:self.tableView];
and
[self.view addSubview:tableView];
both work. My tableView was added with IB and the delegate and datasource and outlet was set.
thanks
If you are declaring your table and not making its property like
then you can access you tableView
And If you are setting its getter and setter property then you can call using
self.tableThen you can access it by
For more info you can read UITableViewController Class Reference