I am very new, as in I just started today with Objective C and I am getting this error every time I try to build my application.
Ticklist/RootTableViewController.m:69:36: No visible @interface for 'UITableView' declares the selector 'initWithStyle:reuseIdentifier:'
for these lines of code
static NSString *simpleTableIdentfier = @"AnimalCell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:simpleTableIdentfier];
if(cell == nil)
{
cell =[[UITableView alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:simpleTableIdentfier];
}
I am pretty good in java and I feel like this error is saying something along the lines of this variable hasn't been instantiated, even though I know this isn't a variable.
Im not asking for an answer verbatim, just a guidance in the right direction.
Thanks for any help.