• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: windowDidLoad not getting called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: windowDidLoad not getting called
      • From: Bill Cheeseman <email@hidden>
References: 
 >windowDidLoad not getting called (From: Dave <email@hidden>)
 >Re: windowDidLoad not getting called (From: Ken Thomases <email@hidden>)
 >Re: windowDidLoad not getting called (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: windowDidLoad not getting called
  • Next by Date: Re: windowDidLoad not getting called
  • Previous by thread: Re: windowDidLoad not getting called
  • Next by thread: Re: windowDidLoad not getting called
  • Index(es):
    • Date
    • Thread