• 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: NSSpellChecker and checkSpellingOfString problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSpellChecker and checkSpellingOfString problems


  • Subject: Re: NSSpellChecker and checkSpellingOfString problems
  • From: Knut Lorenzen <email@hidden>
  • Date: Thu, 3 Dec 2009 18:14:01 +0100

Am 03.12.2009 um 17:55 schrieb Keith Blount:

> I have an NSTextView subclass that provides a custom contextual menu by overriding -menuForEvent:. Because I override this, I have to provide any menu items I want to retain from the original menu myself.

Can't you simply use something like
NSMenu *theMenu = [super menuForEvent:theEvent];
early in your code and let the system do the heavy lifting?

Cheers,

Knut





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >NSSpellChecker and checkSpellingOfString problems (From: Keith Blount <email@hidden>)

  • Prev by Date: MacResearch Tutorial on beginning a Cocoa/iPhone app.
  • Next by Date: Re: image not found
  • Previous by thread: NSSpellChecker and checkSpellingOfString problems
  • Next by thread: re: NSSpellChecker and checkSpellingOfString problems
  • Index(es):
    • Date
    • Thread