i actually dont see my error:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *Cel
You are creating a FriendTableViewCell
and then ignoring it and setting it equal to (presumably) an instance variable named friendCell.
I assume that you expect friendCell to be set when calling the loadNibNamed method. It apparently is not being set.
So you've got two problems with this code. First, don't allocate a cell twice.
cell = [[[FriendTableViewCell ....
[[NSBundle mainBundle .....
cell = friendCell;
Obviously, the creation of a new cell and assigning it to cell is useless if you are overwriting it with the second call to assignment to cell.
Second, friendCell is probably nil. Make sure the NIB is set up correctly and has the outlets pointing to the right places.