Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thanks for the TableView hint.



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.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Fwd: Thanks for the TableView hint. (From: Jerry LeVan <email@hidden>)



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.