• 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: delete entries in a tableView with the backspace-key on the keyboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delete entries in a tableView with the backspace-key on the keyboard


  • Subject: Re: delete entries in a tableView with the backspace-key on the keyboard
  • From: Peter Lübke <email@hidden>
  • Date: Sat, 30 Apr 2011 01:36:36 +0200

Am 29.04.2011 um 23:19 schrieb Sean McBride:

See:
<http://lists.apple.com/archives/cocoa-dev/2010/Apr/msg01044.html>

Sean,
is there a special reason why the sample code is working with [event characters]?
I've merely been doing
if ( [event keyCode] == 51) {
... }
to determine if the backspace key was pressed to delete a table row.


Is this a bad idea? Is the keycode for the backspace key possibly subject to changes?

- Peter

_______________________________________________

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: 
 >delete entries in a tableView with the backspace-key on the keyboard (From: Martin Batholdy <email@hidden>)
 >Re: delete entries in a tableView with the backspace-key on the keyboard (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: Changing UISwitch text
  • Next by Date: Re: Changing UISwitch text
  • Previous by thread: Re: delete entries in a tableView with the backspace-key on the keyboard
  • Next by thread: iOS internaltional dialing plan
  • Index(es):
    • Date
    • Thread