• 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: Vince DeMarco <email@hidden>
  • Date: Fri, 30 Nov 2001 13:03:24 -0800

On Friday, November 30, 2001, at 12:04 pm, email@hidden wrote:

In two cases I have not been able to figure out what "File's Owner" does in the Interface Builder window. In the case of a "document-based" app built from the template, there seems to be no reason for the "File's Owner"
Icon in the IB MainMenu.nib window since nothing is connected to it; in the second case of a straight Cocoa app, there does not seem to be any reason for the "File's Owner" Icon since the real file's owner has to be instantiated and the resulting blue cube icon is the one that connections are made too. Not "File's Owner!" No doubt there is some explanation somewhere hidden away concerning this, or even in plain view, but I have not found it. Tried Sherlock and MarshmallowLibrarian to no avail. Hard to believe "File's Owner" got no hits searching Developer! I also looked at several other programs downloaded from Softrak before I was banned there, and looked at all the connections, which verified that no connections are being made to this "File's Owner" Icon--in either the doc-based or straight Cocoa app. Any clues for this clueless beginner will be chewed over closely. Thanks!


Read the IB release notes/FAQ

here is the section

 What do File's Owner and First Responder represent?

Files Owner and First Responder are proxies for objects that will exist at runtime. Specifically, Files Owner represents the object which will be passed in for owner in the method [NSBundle loadNibNamed: owner]. You can specify, via the Attributes Info Panel, what kind of object owner will be.
Once you've indicated what Files Owner is, you can make connections to it.

First Responder is your portal to the Responder Chain. You can add Actions to First Responder in the "Classes" tab of the document window. Next, connect buttons and menu items to First Responder so that they call the desired action. The first object in the responder chain that understands this action will be called.

See the Cocoa documentation for more information about how the responder chain works.


  • Follow-Ups:
    • Re: File's Owner
      • From: email@hidden
    • Re: File's Owner
      • From: email@hidden
References: 
 >File's Owner (From: email@hidden)

  • Prev by Date: Re: File's Owner
  • Next by Date: Number Formatting
  • Previous by thread: Re: File's Owner
  • Next by thread: Re: File's Owner
  • Index(es):
    • Date
    • Thread