difference between awakeFromNib() and viewDidLoad() in swift
I want to know the key difference between awakeFromNib() and viewDidLoad() to get more clarity on how it works . Please can anybody explain? From Apple documentation: awakeFromNib : The nib-loading infrastructure sends an awakeFromNib message to each object recreated from a nib archive, but only after all the objects in the archive have been loaded and initialized. When an object receives an awakeFromNib message, it is guaranteed to have all its outlet and action connections already established. See: Nib Files in Resource Programming Guide viewDidLoad : This method is called after the view