• 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: awakeFromNib and toolbar creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awakeFromNib and toolbar creation


  • Subject: Re: awakeFromNib and toolbar creation
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 28 Apr 2006 23:05:12 +0200

Milen,

On 28.4.2006, at 23:00, Milen Dzhumerov wrote:

i just wanted to ask what is the preferred way of initializing a window's toolbar - I do it in the window's controller awakeFromNib: method.

One of best places.

So I can assume that _EVERY_ object instantiated from IB will receive an awakeFromNib message if it implements it.

Yup.

Beware that whatever object is set to be the File's Owner *also* gets awakeFromNib (if responds), even though it is not being instantiated.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: awakeFromNib and toolbar creation
      • From: Milen Dzhumerov <email@hidden>
References: 
 >awakeFromNib and toolbar creation (From: Milen Dzhumerov <email@hidden>)

  • Prev by Date: awakeFromNib and toolbar creation
  • Next by Date: Correct Time to Write Extra code on Shutdown
  • Previous by thread: awakeFromNib and toolbar creation
  • Next by thread: Re: awakeFromNib and toolbar creation
  • Index(es):
    • Date
    • Thread