| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 3. Mar 2004, at 15:25, Jerry LeVan wrote:_______________________________________________
NSString *characters = [[NSApp currentEvent] characters];
unichar ch = [characters characterAtIndex:0];
Some events may not generate characters! so check string length before accessing the character at index zero.
| References: | |
| >Fwd: Thanks for the TableView hint. (From: Jerry LeVan <email@hidden>) | |
| >Re: Thanks for the TableView hint. (From: Allan Odgaard <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.