• 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
Always Notified when Key is Released
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Always Notified when Key is Released


  • Subject: Always Notified when Key is Released
  • From: Richard Somers <email@hidden>
  • Date: Wed, 16 Jun 2010 22:14:24 -0600

I have a custom view which implements 'keyUp:'. In my custom view when the delete key is released there is some work that needs to be done. The work is done in the 'keyUp:' method.

The problem is that if the user presses the delete key, then inadvertently presses a modifier key, then releases the delete key, my view never gets notified and is left in an inconsistent state. I assume the system treats this as a key equivalent and does not pass the event down the responder chain, although the key sequence is out of order for a key equivalent.

How can my view always be notified when the delete key is released?

--Richard

_______________________________________________

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


  • Prev by Date: Re: Add button to Finder
  • Next by Date: Re: DnD International No symbol
  • Previous by thread: Re: DnD International No symbol
  • Next by thread: Why my Custom NSCollectionView drawRect is not being called when acceptinLayers?
  • Index(es):
    • Date
    • Thread