• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File's Owner


  • Subject: Re: File's Owner
  • From: Andreas Mayer <email@hidden>
  • Date: Sat, 24 May 2008 06:39:28 +0200


Am 24.05.2008 um 03:55 Uhr schrieb Erik Buck:

That is why File's owner exists! You just used File's Owner to make a connection to an object outside the nib.

I thought, maybe a picture would help:

http://www.harmless.de/images/other/files_owner.png

On the left would be the scenario without a File's Owner proxy.
Note that, after loading the nib, there is no way to reach the newly added objects from the old ones.


On the right you can see what purpose the File's Owner serves.
The outline indicates, that it is not a real object, but just a kind of placeholder for one.
Now when an object - in this case NSApp - get's substituted for the file's owner, it takes the pace of the former proxy object. The outcome is, that you now *do* have a connection from the original object graph to the newly added one.



Andreas _______________________________________________

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


  • Follow-Ups:
    • Re: File's Owner
      • From: Paul Sargent <email@hidden>
References: 
 >Re: File's Owner (From: Erik Buck <email@hidden>)

  • Prev by Date: Re: Query about Zip command
  • Next by Date: Re: Cocoa et al as HCI usability problem
  • Previous by thread: Re: File's Owner
  • Next by thread: Re: File's Owner
  • Index(es):
    • Date
    • Thread