I have a UISplitViewController in a xib file that contains two custom UIViewControllers. I put most of my initialization code in the viewDidLoad: method, but I don’t think thats where it should be.
What method can I override so that my code will be run when the xib is inflated?
Thanks in advance, and let me know if you require any clarification.
Use – (void)awakeFromNib. Another option is -(id)initWithCoder: but I would recommend the awakeFromNib.