In a ViewController, there is ViewDidLoad
to know when the VC has loaded.
For a UIView, what method do i have to use when the view loaded?
Would this method be called with any init?
edit: No XIB, just programmatically.
If you load it from a XIB file, the awakeFromNib method will be called when it is loaded from the XIB.
edit In the case of no XIB, you will probably have to infer it using one of the methods from the Observing View-Related Changes area of the docs (for example, didMoveToSuperview). However, a better way is to send a message to your views from the view controller in the viewDidLoad method.