• 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
Document-based apps interacting with main menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Document-based apps interacting with main menu


  • Subject: Document-based apps interacting with main menu
  • From: Phillip Ulrich <email@hidden>
  • Date: Wed, 5 Feb 2003 01:08:00 -0500

I know I'm missing something really obvious here, but neither of the books I have on Cocoa addresses it, so I'm blaming it on the time.

Let's say I make a document-based Cocoa app. I have two nibs, my MainMenu and MyDocument.

Now let's say I make a new menu item in the MainMenu. I want DoSomething to affect something about MyDocument... however, it seems impossible (like I said, I'm tired).

Basically, my question is: how do I get a menu item in a document-based app to affect the document?

Thanks in advance,
Phil
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Document-based apps interacting with main menu
      • From: Peter Robinson <email@hidden>
  • Prev by Date: Re: createDirectoryAtPath problems
  • Next by Date: pasting into another application
  • Previous by thread: Re: Kernal/Quartz extension to "snap" mouse to nearest control
  • Next by thread: Re: Document-based apps interacting with main menu
  • Index(es):
    • Date
    • Thread