iPhone Core Data: request for member 'tableView' in something not a structure or union
Posted
by Nic Hubbard
on Stack Overflow
See other posts from Stack Overflow
or by Nic Hubbard
Published on 2010-05-10T01:55:13Z
Indexed on
2010/05/10
1:58 UTC
Read the original article
Hit count: 545
I am trying to use CoreData to populate a UITableView. I have been using the developer "Locations" project, and I think I have everything correct. But, now I am getting the following error when I build:
request for member 'tableView' in something not a structure or union
Why would it be confused about tableView? I am using it many times in the methods. The errors seem to be coming from:
[self.tableView insertRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
[self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:YES];
Ideas?
© Stack Overflow or respective owner