I have a NSViewController (I'm using a storyboard) with one iboutlet connected to a NSOutlineView (yes, I have made absolutely shure that it really is connected), but when I try to reference it in awakeFromNib, the outlet is still nil although they should be guaranteed to be connected in awakeFromNib. Any ideas or solutions?
The Apple documentation says that the lifecycle of a NSViewController
starts with viewDidLoad
, so you should do your stuff there.