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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to