Re: NSToolbarItem identifier?
Re: NSToolbarItem identifier?
- Subject: Re: NSToolbarItem identifier?
- From: "aaron smith" <email@hidden>
- Date: Fri, 26 Dec 2008 13:33:51 -0800
oh sweet. thanks Brandon. good stuff.
On Fri, Dec 26, 2008 at 4:43 AM, Brandon Walkin <email@hidden> wrote:
>
> On 22-Dec-08, at 4:37 AM, Quincey Morris wrote:
>
>> 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.
>>
>
> Replying a bit late here but I should point out that since version 1.0.2 of
> the BWToolkit IB plugin, it has supported the ability to specify an toolbar
> item's identifier in the inspector.
>
> Screenshot: http://www.quicksnapper.com/bwalkin/image/item-identifier
> Info & Download:
> http://www.brandonwalkin.com/blog/2008/11/13/introducing-bwtoolkit/
> _______________________________________________
>
> 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
>
_______________________________________________
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