Re: File's Owner
Re: File's Owner
- Subject: Re: File's Owner
- From: "Shawn Erickson" <email@hidden>
- Date: Fri, 23 May 2008 14:11:31 -0700
On Fri, May 23, 2008 at 1:27 PM, Shawn Erickson <email@hidden> wrote:
> So the real question you likely have is who is loading my nib? We can
> only help answer that if you outline more about the nib and the code
> involved. However as a guess I assume you are talking about
> MainMenu.nib (default name for the "NSMainNibFile" entry that you
> specify in your Info.plist). This nib is loaded by the NSApplication
> instance the represents your Cocoa application (created when you call
> NSApplicationMain() in you main entry point). NSApplication is the
> owner of that nib, hence the file's owner proxy object represents it.
Oops I intended to reference the following in my first post...
<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/AddingBehaviortoaCocoaProgram/chapter_4_section_2.html#//apple_ref/doc/uid/TP40002974-CH5-DontLinkElementID_1>
<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CoreAppArchitecture/chapter_7_section_1.html#//apple_ref/doc/uid/TP40002974-CH8-SW45>
-Shawn
_______________________________________________
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