Re: windowDidLoad not getting called
Re: windowDidLoad not getting called
- Subject: Re: windowDidLoad not getting called
- From: Ken Thomases <email@hidden>
- Date: Thu, 19 Mar 2015 14:54:33 -0500
On Mar 19, 2015, at 2:49 PM, Bill Cheeseman <email@hidden> wrote:
> On Mar 19, 2015, at 2:34 PM, Ken Thomases <email@hidden> wrote:
>>
>> To force the window controller to load the window, request its "window" property value or call -showWindow: on it (if you want to show the window).
>
> Or set "Visible at Launch" in the window controller's nib file, at least if you don't have to attach a sheet to it or do other things with it before it is shown. It really means "visible when the nib file loads."
That doesn't help with getting the window controller's -windowDidLoad method called. In fact, that setting almost never helps with anything and, in my opinion, should generally be off. Turning it on just takes control away from the window controller.
-Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden