Re: NSView Names
Re: NSView Names
- Subject: Re: NSView Names
- From: "Simson Garfinkel" <email@hidden>
- Date: Wed, 27 Feb 2002 14:00:59 -0500
Erik,
Thanks. I'm somewhat familiar with the concept of outlets.
However, I don't want to get the ids of an object. I want the object to be
able to get the name that was assigned to it through the Interface Builder's
NIB document window. That is, I want an object to be able to determine its
own name.
Interface Builder 0.8 used named objects as a mechanism for learning the id
of an object. This was used before the connection metaphor was implemented.
However, the names are useful for an application that I am developing. I'm
currently using the Tooltip NSString * as a proxy for the name, and then
having the object remove its Tooltip, but this is gross and awkward.
----- Original Message -----
From: "Erik M. Buck" <email@hidden>
To: "Simson Garfinkel" <email@hidden>; <email@hidden>
Sent: Wednesday, February 27, 2002 1:50 PM
Subject: Re: NSView Names
>
You have to have an outlet pointing to the window or view. I am not sure
>
"name" is the right concept though.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.