On Sat, Mar 8, 2008 at 11:27 AM, Quincey Morris <[EMAIL PROTECTED]> wrote: > In a main menu nib, Application and File's Owner will be placeholders > for the same object. Interestingly, IB doesn't seem to be smart enough > to realize that they must be the same object, so setting the outlets > of one doesn't affect the other within IB. The IB documentation is > silent on who wins at runtime in this situation.
IB doesn't know for sure that the file's owner of the main nib is in fact the shared NSApplication instance. You could be doing some wonky stuff instead. The only way that IB could possibly know is if it performed static analysis. So rather than build a static analyzer into IB, we can just live with two proxy icons. Though it would definitely be nice to know who wins at runtime. File a doc bug, perhaps? The worst that could happen is that this behavior is an undefined implementation detail that they don't want to make part of the public contract. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) 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]
