• 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: "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

References: 
 >File's Owner (From: Johnny Lundy <email@hidden>)
 >Re: File's Owner (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)
  • Next by Date: Re: Removing the Filename flag in Doc. based Application
  • Previous by thread: Re: File's Owner
  • Next by thread: Re: File's Owner
  • Index(es):
    • Date
    • Thread