Hi to you all,
I've been reading this list for quite a while now, and I need a hand on a small problem : I can't find a way to set the identifier of my custom NSToolbarItems in Interface Builder.

I'm building a document based application with a NSToolbar in the document window. I've added several custom toolbar items in it, following the procedure described here: http://developer.apple.com/documentation/DeveloperTools/Conceptual/IB_UserGuide/BuildingaNibFile/chapter_4_section_4.html#/ apple_ref/doc/uid/TP40005344-CH11-DontLinkElementID_29

Now my problem is I need to use these items programmatically (to implement a delegate for my NSToolbar), and by looking at the xib file the identifiers for these items are some kind of hash-code, and I can't find a place to set it in IB.

I've considered configuring the toolbar in my code (the old way), but I'd like to avoid it to get a better overview of my design in IB.

I could also subclass NSToolbarItems and override the identifier, but as I have no need for customizing my toolbar items behavior it seems a bit of a overkill.

Any ideas ?

Christian Corsano
http://www.conceptoire.com
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to