• 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: NSDocument: Connecting the menubar to objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument: Connecting the menubar to objects?


  • Subject: Re: NSDocument: Connecting the menubar to objects?
  • From: Eric Brunstad <email@hidden>
  • Date: Tue, 14 Jun 2005 19:18:56 -0400


On Jun 14, 2005, at 10:31 AM, Gorazd Krosl wrote:
If your document instance responds to more than one menu item,
you can distingush between them by obtaining selector
as NSString (using NSStringFromSelector and -action
message sent to menu item passed to your validation
method) and performing proper action according to the
menu item passed in.

HTH
Gorazd

 or use @selector(methodName:) to get a selector
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: NSDocument: Connecting the menubar to objects? (From: Gorazd Krosl <email@hidden>)

  • Prev by Date: Creating a subclass of an *unknown* object
  • Next by Date: Typo In NSPersistentDocument Core Data Tutorial?
  • Previous by thread: Re: NSDocument: Connecting the menubar to objects?
  • Next by thread: Getting the first responder?
  • Index(es):
    • Date
    • Thread