• 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: Storing 'clue' in NSViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Storing 'clue' in NSViews


  • Subject: RE: Storing 'clue' in NSViews
  • From: "Jonathan E. Jackel" <email@hidden>
  • Date: Wed, 9 Feb 2005 11:03:28 -0500
  • Importance: Normal

You can set the tag of a button in IB.  Use the "Attributes" view (cmd-1).
Jonathan

> -----Original Message-----
> From: cocoa-dev-bounces+jonathan=email@hidden
> [mailto:cocoa-dev-bounces+jonathan=email@hidden]On Behalf
> Of Dominik
> Sent: Wednesday, February 09, 2005 10:01 AM
> To: email@hidden
> Subject: Re: Storing 'clue' in NSViews
>
>
> 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

 _______________________________________________
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

  • Follow-Ups:
    • Re: Storing 'clue' in NSViews
      • From: Dominik <email@hidden>
References: 
 >Re: Storing 'clue' in NSViews (From: Dominik <email@hidden>)

  • Prev by Date: handling really BIG images
  • Next by Date: Re: Sample code won't link now that I have updated to panther
  • Previous by thread: Re: Storing 'clue' in NSViews
  • Next by thread: Re: Storing 'clue' in NSViews
  • Index(es):
    • Date
    • Thread