This is a bit of a silly question but I don't know how to get around it.
I am making an iphone app and I am just trying to display a progress wheel while my UITableView is loading. I try to test if the view is loading but I get an error: 'request for member 'loading' is something not a structure or a union'. So, I'm not sure how I am supposed to test for when I should show the wheel. maybe I have mistyped something? I don't know, but I am getting pretty frustrated with this silly problem. So, any help would be appreciated. Thanks!
- (void) updateWheel {
//curtable is a uitableView
//wheel is a uiactivityIndicatorView
if (!curTbl.loading) { //THE ERROR IS FOR THIS LINE
[wheel stopAnimating];
} else {
[wheel startAnimating];
}
}