Hi,
I have this code in my app:
- (void)keyDown:(NSEvent *)theEvent
{
unichar oneChar;
NSString*theChars = [theEvent charactersIgnoringModifiers];
if ( 0 == theChars.length ) {
return;
}
oneChar = [theChars
Well that sounds an impossible problem, but might not be. Give us the crash
report too.
On 1 Nov 2012, at 12:11, Antonio Nunes devli...@sintraworks.com wrote:
Hi,
I have this code in my app:
- (void)keyDown:(NSEvent *)theEvent
{
unichar oneChar;
NSString
On 1 Nov, 2012, at 15:24 , Mike Abdullah cocoa...@mikeabdullah.net wrote:
Well that sounds an impossible problem, but might not be. Give us the crash
report too.
12/10/2012 12:41:10: -[__NSCFConstantString characterAtIndex:]: Range or index
out of bounds
12/10/2012 12:41:10: (
0
On 1 Nov 2012, at 14:37, Antonio Nunes devli...@sintraworks.com wrote:
On 1 Nov, 2012, at 15:24 , Mike Abdullah cocoa...@mikeabdullah.net wrote:
Well that sounds an impossible problem, but might not be. Give us the crash
report too.
12/10/2012 12:41:10: -[__NSCFConstantString
On 1 Nov, 2012, at 15:50 , Mike Abdullah cocoa...@mikeabdullah.net wrote:
Well it all looks like your code shouldn't be able to give the above
exception. To check, there's no other calls to -characterAtIndex: in the code
you omitted? And the code you pasted is from ANBorderedTextView?
No