why does the init-method of a custom nib-based table cell not get called
问题 I have a nib-based table view cell which I created in Interface builder. I set the class of the table view cell to FooTableViewCell which extends from UITableViewCell . In FooTableViewCell I override the init method like this: -(id)init{ if ((self = [super init])){ // My init code here } return self; } I now expected that my gets called, when it is being instantiated. However the table view gets displayed but the method is never called. I could work around this but I would like to fully