Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Setting tags on objects...

Setting tags on objects...
Thread Tools
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Feb 19, 2002, 08:18 PM
 
As I understand it, each Cocoa object has a tag on it. This is supposed to be a convenience thingg for programmers; you can search for items using it, or you can just hold data there.

However, there are one or two functions in Cocoa that depend on the tag. That's the problem I've run into. I need to set the tags on a couple of NSToolbarItems, and I'm not sure how to do it programatically. Anyone have any ideas?
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Feb 19, 2002, 10:32 PM
 
Um... never mind... looks like that won't work. :o

Wrong premise; not all objects have tags. My bad.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:16 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2