• 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: What is the best way to store some kind of identifying string in an interface builder object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the best way to store some kind of identifying string in an interface builder object?


  • Subject: Re: What is the best way to store some kind of identifying string in an interface builder object?
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 19 Jun 2009 23:52:00 -0700
  • Organization: Rogue Research Inc.

On 6/18/09 2:52 PM, Greg Guerin said:

>Chilton Webb wrote:
>
>> Is there a way to add a tag an IB object in such a way that it is
>> not visible to the user, but in such a way that I could reference
>> it from my app?
>
>
>Maybe the -tag method: it returns a 32-bit integer..  It's settable
>in IB as the control's tag value.  I don't know if iPhone has it.
>
>Since it's only 32-bits I don't know how useful it would be for your
>intended purpose.  But IB has no inherent use for it, and it is
>readable from the app.

Note that 'tag' is 64 bit in 64 bit apps.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: What is the best way to store some kind of identifying string in an interface builder object? (From: Greg Guerin <email@hidden>)

  • Prev by Date: Debugging NSService
  • Next by Date: Re: Short-circuit evaluation
  • Previous by thread: Re: What is the best way to store some kind of identifying string in an interface builder object?
  • Next by thread: Re: What is the best way to store some kind of identifying string in an interface builder object?
  • Index(es):
    • Date
    • Thread