Re: Space Bar Event
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