• 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: File's owner, outlets and methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >File's owner, outlets and methods (From: Michael de Haan <email@hidden>)
 >Re: File's owner, outlets and methods (From: Dave Carrigan <email@hidden>)
 >Re: File's owner, outlets and methods (From: Michael de Haan <email@hidden>)
 >Re: File's owner, outlets and methods (From: Ken Thomases <email@hidden>)
 >Re: File's owner, outlets and methods (From: Michael de Haan <email@hidden>)
 >Re: File's owner, outlets and methods (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: detect "left mouse button clicked in menu bar"
  • Next by Date: Re: Cocoa window in Carbon app and [NSApp postEvent]
  • Previous by thread: Re: File's owner, outlets and methods
  • Next by thread: Document file read, but -readFromData:(etc) has error.
  • Index(es):
    • Date
    • Thread