• 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: Milen Dzhumerov <email@hidden>
  • Date: Fri, 28 Apr 2006 22:16:27 +0100

On 28 Apr 2006, at 22:05, Ondra Cada wrote:

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.

As we're on that topic... what's the proper way of setting the File's Owner? Do I have to set the File's Owner delegate? And also what type is the file's owner so I know which methods are delegated?


Thanks

---
Ondra Čada
OCSoftware:     email@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc



Kind regards, Milen Dzhumerov

Web: http://1nsp1r3d.co.uk/
Email: email@hidden



_______________________________________________
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


References: 
 >awakeFromNib and toolbar creation (From: Milen Dzhumerov <email@hidden>)
 >Re: awakeFromNib and toolbar creation (From: Ondra Cada <email@hidden>)

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