Re: File's owner, outlets and methods
Re: File's owner, outlets and methods
- Subject: Re: File's owner, outlets and methods
- From: Michael de Haan <email@hidden>
- Date: Thu, 13 Aug 2009 20:48:20 -0700
On Aug 13, 2009, at 8:26 PM, Ken Thomases wrote:
I think I finally get "File's owner" :-) So, if I understand you
correctly, having set File's owner to the appropriate class ( in
this case AppController) I set the appropriate **proxy** outlet of
File's owner to the object ( in this case NSPanel instance) and
when the Nib is loaded, AppController's IBOutlet gets set to the
NSPanel instance, allowing me to send a message from AppController
( set title etc) during run-time.
Correct, although I would apply the word "proxy" to File's Owner
itself, not its outlets.
Of course...again :-)
I like to explain File's Owner like this:
Ken...thanks for that really illuminating discourse on File's owner.
As I look back, I am not sure why this is so confusing, but clearly
it's a hurdle that many novices go through ( a quick search of the
archives will attest to that)....so, hopefully this will be my insight
to the next level.
With much thanks again.
Michael.
_______________________________________________
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