Re: Storing 'clue' in NSViews
Re: Storing 'clue' in NSViews
- Subject: Re: Storing 'clue' in NSViews
- From: Dominik <email@hidden>
- Date: Wed, 9 Feb 2005 16:01:08 +0100
The control this applies to is an NSButton and using setTag is not
really... convenient.
Is nothing like this available in IB???
Am 09.02.2005 um 15:45 schrieb Ricky Sharp:
On Wednesday, February 09, 2005, at 08:38AM, Dominik
<email@hidden> wrote:
I have a NSView bound to an action exposed in the controller. The
sender is given but I would like add. info (say a constant
number/string)
Is it possible to store such a constant with a view?
What specifically do you have? Is this an actual instance of NSView
or a derived class? Note that if it inherits from NSControl, you can
set that control's tag with setTag:
If you have your own custom NSView subclass, just add whatever
property you need and create the appropriate accessors.
--
Rick Sharp
Instant Interactive(tm)
May you always find water and shade (WoT)
Dominik
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden