• 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
A (Hopefully) simple menu problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A (Hopefully) simple menu problem


  • Subject: A (Hopefully) simple menu problem
  • From: William Colsher <email@hidden>
  • Date: Tue, 29 Jun 2004 15:59:37 -0400

I'm having a good deal of difficulty getting my head around menu enabling
(and how to get my methods called) in a multiple nib world. Specifically I
have:

1) The usual MainMenu.nib which contains among other things a menu item
"Edit Reference"
2) In another nib (LibraryDocument.nib) I have my LibraryDocument class that
knows when "Edit Reference" should be enabled and also knows what to do if
it is selected. There can be multiple library documents open of course.

I've learned about validateMenuItem: and it's implemented in my
LibaryDocument class.

So how the heck to I point the menu item at LibraryDocument? This has to be
simple right?

Thanks

Bill Colsher
_______________________________________________
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: A (Hopefully) simple menu problem
      • From: "Louis C. Sacha" <email@hidden>
  • Prev by Date: convert , to . from user input
  • Next by Date: NSDateFormatter not validating input
  • Previous by thread: convert , to . from user input
  • Next by thread: Re: A (Hopefully) simple menu problem
  • Index(es):
    • Date
    • Thread