I wanted to use a xib file to customise a tableview section in xcode (objective C), and here ar my files:
SectionHeaderView.xib is a UIView with a UILabel
Sectio
Try this: I have tested it in my app and its working:
NSArray *viewArray = [[NSBundle mainBundle] loadNibNamed:@"SectionHeaderview" owner:self options:nil]; UIView *view = [viewArray objectAtIndex:0]; UILabel *lblTitle = [view viewWithTag:101]; lblTitle.text = @"Text you want to set"; return view;