Re: File's Owner
Re: File's Owner
- Subject: Re: File's Owner
- From: email@hidden
- Date: Fri, 30 Nov 2001 16:37:42 -0500
On Friday, November 30, 2001, at 04:03 PM, Vince DeMarco wrote:
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].
Sorry, I did look at the FAQs but somehow missed this section. However .
. .
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.
So, I change the File's Owner from the default NSAPP to MyObject
subclassed from NSObject, which does _not_ inherit from NSApp, so this
seems okay going by the alert panel that pops up. And sure enough. I can
now connect to the new blue cube File's Owner Icon--but the bloody
interface no longer works! And if I leave the File's Owner alone, I can't
connect to it--must connect to the instantiated MyObject icon instead.
And then the interface does work. Thanks for trying to help, but I'm more
confused than ever! Time for a beer. Maybe tomorrow I can ask a question
that someone will understand. <sigh>
Brian E. Howard