views:

15

answers:

1

I have watched the Lynda iPhone tutorials and on the lesson about Tableviews there is a method to create a cell as follows.

//create cell
UITableViewCell *cell = [[UITableView alloc]
                         initWithStyle:UITableViewCellStyleDefault
                         reuseIdentidier:@"cell"];

but Xcode says there is no such method. as well as obviously no code sense picking it up.

What method can be used instead of the above? thanks /

Regards

+1  A: 

Example contains an error:

Use [[UITableViewCell alloc]... instead [[UITableView alloc]...

Victor
haha, thanks, missed that :P
alJaree