If this is a UITableViewCell, I have moved all code regarding a variable in awakeFromNib to the corresponding variable's didSet. If the variable is an @IBOutlet, didSet runs only once and works exactly like awakeFromNib.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: