• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Document Based App Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Document Based App Question (From: "Matt R" <email@hidden>)

  • Prev by Date: Re: Best way to read a file from HTTP URL
  • Next by Date: Re: Best way to read a file from HTTP URL
  • Previous by thread: Document Based App Question
  • Next by thread: Updating View While PrintOperation is Running
  • Index(es):
    • Date
    • Thread