Re: NSToolbarItem identifier?
Re: NSToolbarItem identifier?
- Subject: Re: NSToolbarItem identifier?
- From: Quincey Morris <email@hidden>
- Date: Mon, 22 Dec 2008 01:37:38 -0800
On Dec 22, 2008, at 00:44, aaron smith wrote:
I haven't been able to figure out how to set a custom identifier with
NSToolbarItem's. Is it possible? I don't see it anywhere in IB, or
anywhere in the class documentation? I can see the identifier at
runtime, but it's a uuid, can't I set a custom identifier?
You can't set one in IB. The workaround is to declare outlets in your
File's Owner object to each of the toolbar items you need to refer to,
and then use the outlets directly (or get the IB-assigned identifier
via the outlet, if that's what you need). That will probably feel a
bit hokey, but perhaps a future version of IB will have a more elegant
implementation for this.
_______________________________________________
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