Custom cell just failing
- by ct2k7
Hi, I'm trying to use a custom UITableViewCell, and I've placed it in the same nib file as the UITableView controller. For this, the files are: NTItems.h, NTItems.m and NTItems.xib.
I have defined the cell in the header file:
IBOutlet UITableViewCell *cellview;
and I've correctly applied the property: nonatomic, retain so it's there.
In the m file - I've synthesized the variable device and am using this to get the custom cell:
if(cell == nil){
cell = self.cellview;
}
However, when I load the table, I get this horrible mess:
There should be more than 1 cell showing data as well. On another note, how do I map the labels to the text which is to be displayed?