Re: awakeFromNib and toolbar creation
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