• 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: window loading sequence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: window loading sequence


  • Subject: Re: window loading sequence
  • From: James DiPalma <email@hidden>
  • Date: Sat, 4 Jan 2003 20:21:09 -0500

From: Carrie Brezine <email@hidden>
After many false steps I've figured out that -awakeFromNib comes after -windowDidLoad, but I don't know how many other things there might be before/after/inbetween those two.

From: Michael Latta <email@hidden>
This is not just a matter of discovering the current ordering. The only ordering you can rely on is what is in the documentation. Other ordering could change on you. Of course it probably has not changed in the last 10 years, but it could.

windowDidLoad was added to Cocoa about 5 years ago.

-awakeFromNib is documented to be after the entire nib has loaded and all connections have been created.

awakeFromNib has been used to set up stuff after connections for 14 years. You can probably rely on it doing what it does for a while.


-jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Long conditional
  • Next by Date: newbie question initWithCapacity
  • Previous by thread: Re: Long conditional
  • Next by thread: newbie question initWithCapacity
  • Index(es):
    • Date
    • Thread