Re: One more NSToolbar question
Re: One more NSToolbar question
- Subject: Re: One more NSToolbar question
- From: Vince DeMarco <email@hidden>
- Date: Wed, 9 May 2001 08:12:21 -0700
On Wednesday, May 9, 2001, at 03:52 AM, Matt Ridley wrote:
>
On Wednesday, May 9, 2001, at 04:39 am, John Hvrnkvist wrote:
>
>
>> This is all true enough (I see it in NSWindow.h), but those actions
>
>> aren't listed in Interface Builder when I control-drag from my
>
>> "Hide/Show Toolbar" menu item to my window. Thus, I'm unclear as to
>
>> how to specify toggleToolbarShown: as the action for my menu item.
>
>
>
> Then try dragging NSWindow.h into the into the interface builder
>
> document
>
>
That worked; thank you. What does that actually do - get IB to update
>
its actions and outlets for the appropriate class? I'd assumed that IB
>
read those directly from the headers at launch time anyway, but
>
seemingly not.
>
Nope there are two plist files that IB read to get the information.
>
> or just add the method name manually to the method list in interface
>
> builder.
>
>
Umm.. how would I do that? The list doesn't seem to be editable, or to
>
have any way to add items to it. Contextual menus don't work in the
>
Connections pane of the Inspector either.
>
Here are updated versions of both of these files, just replace the files
you have with these ones
<Attachment missing> (firstResponderXML.plist)
<Attachment missing>(objc-classesXML.plist)
Both of these files are in
/Developer/Applications/Interface
Builder.app/Contents/Resources/CocoaFramework.palette/Contents/Resources