• 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: Paul Sargent <email@hidden>
  • Date: Sat, 24 May 2008 11:49:09 +0100


On 24 May 2008, at 05:39, Andreas Mayer wrote:

I thought, maybe a picture would help:

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

Exactly the picture I was about to draw.

Johnny Lundy wrote:
Saying it connects the nib to an object outside the nib sounds good, but what object is that?

The object that loaded the NIB. What object is that? Whichever is passed when the NIB is loaded with [NSBundle loadNibNamed:owner:]


e.g. NSApplication probably has code that looks like

[NSBundle loadNibNamed:@"MainMenu" owner:self]

You might have a piece of code that reads

[NSBundle loadNibNamed:@"InspectorWindows" owner:inspectorController]



_______________________________________________

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: "Sherm Pendley" <email@hidden>
References: 
 >Re: File's Owner (From: Erik Buck <email@hidden>)
 >Re: File's Owner (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: NSTextView without word wrap?
  • Next by Date: Re: Properties & GC (was 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