Re: NSView subclass
Re: NSView subclass
- Subject: Re: NSView subclass
- From: DKJ <email@hidden>
- Date: Wed, 15 Oct 2008 15:35:46 -0700
Now another problem! When I put this in the MyViewSubclass header:
@interface NSObject (MyViewSubclassDelegation)
- (void)pointClicked:(NSPoint)point;
@end
I get an XCode internal error:
Uncaught Exception:
*** -[NSCFString substringWithRange:]: Range or index out of bounds
It was actually preventing me from typing the category name: I had to
type the name first, and put the parentheses around after.
The error message appears whenever I click inside the category name
parentheses. But I can click "continue" and then build without any
trouble.
What could be causing this? Has it something to do with code completion?
dkj
_______________________________________________
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