• 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: Space Bar Event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Space Bar Event


  • Subject: Re: Space Bar Event
  • From: j o a r <email@hidden>
  • Date: Wed, 2 Jan 2008 13:11:25 -0800


On Jan 2, 2008, at 12:59 PM, Keith Duncan wrote:

I've searched the archives and other than performing ! NSEqualRanges([[event characters] rangeOfString:@" "], (NSRange){0, 0}) there doesn't seem to be any other way of reliably detecting it.

There is no unicode defined for it in the NSEvent header and there is no NSResponder method either. There must be a better way of doing this.


You can at least abbreviate it to:

	[[event characters] isEqualToString: @" "]

j o a r


_______________________________________________

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: 
 >Space Bar Event (From: Keith Duncan <email@hidden>)

  • Prev by Date: Space Bar Event
  • Next by Date: Obj-C and Mac OS BSIT Degree
  • Previous by thread: Space Bar Event
  • Next by thread: Obj-C and Mac OS BSIT Degree
  • Index(es):
    • Date
    • Thread