I want to use static cells in a UITableView
in my storyboard.
But also I want those cells to be loaded from a custom .xib
file with a custom UITableViewCell
subclass.
I want to do this because I want to reuse the cells in multiple table views.
So I added some static cells in storyboard and set the custom class in the identity inspector.
But when I want to access the Outlets in the custom view's awakeFromNib
method, they are nil
. Even later, they're not beeing instantiated.
How can I do this the right way?