Re: Storing 'clue' in NSViews
Re: Storing 'clue' in NSViews
- Subject: Re: Storing 'clue' in NSViews
- From: Ricky Sharp <email@hidden>
- Date: Wed, 09 Feb 2005 08:45:46 -0600
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)
_______________________________________________
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