I have a class that inherits from UITableViewCell
, it has a bunch of IBOutlets
. I had previously been using this object in a way that reuses the cell and initializes it as it's needed. This method is too slow, so I decided to create an array of the UITableViewCell
objects and then add them as needed in the cellForRowAtIndexPath:
method.
Everything gets loaded fine except the IBOutlet
objects. awakeFromNib
is never called so I assume this has something to do with my issue.
Just to clarify it was getting called fine when I was initializing the cells in the cellForRowAtIndexPath
function, it's just when I tried to preload them in the view controllers viewWillAppear
method that it breaks.