ios - Add Tableview cell from a xib file in a static tablebview Controller which is being loaded from a storyboard -


i working on tableview controller inside being loaded inside storyboard file.

for purpose of reusability, 1 of cells in storyboard load nib file.

how can that?

my current implementation uses viewdidload , none of other tableview delegate methods

- (void) viewdidload {      [super viewdidload];       self.title = self.requesttypedescription;  self.itemdescriptionlabel.text = self.currentitem.articledescription;     self.modelnumberlabel.text = self.currentitem.partnumber;    noteshistorystring =  @"valerie young woman lives...";     self.partnumbercell.count.text = [nsstring stringwithformat:@"%@", self.currentitem.sapcount];     self.serialnumberscell.count.text = [nsstring stringwithformat:@"%lu", (unsigned long)self.currentitem.serialnumbers.count];    } 

register nib registernib:forcellreuseidentifier: (in viewdidload place), , in cellforrowatindexpath, dequeue cell same identifier passed in method when want cell of type.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -