Re: Document Based App Question
Re: Document Based App Question
- Subject: Re: Document Based App Question
- From: "Clint Shryock" <email@hidden>
- Date: Tue, 23 Jan 2007 06:57:07 -0600
i did this by creating a method in mydocument that i wanted to call.
(IBAction)foo:(id)sender;
then, in IB, double clicked on 1st responder and then added the method
action "foo:" (under "Attributes", then under "actions" tab)
then connect the menu item to 1st responder and select "foo:" as the action.
there may be a better way but that's how i figured it out
hope that works for you.
+Clint
On 1/22/07, Matt R <email@hidden> wrote:
Hi!
How do I connect a menu item (in mainmenu.nib) to a webview (in
mydocument.nib)?
--
Matt
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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)
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