• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSView subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSView subclass (From: DKJ <email@hidden>)
 >Re: NSView subclass (From: Scott Andrew <email@hidden>)
 >Re: NSView subclass (From: Jonathan Hess <email@hidden>)

  • Prev by Date: Re: Targetting 10.4
  • Next by Date: Re: Multiple persistent store coordinators gotchas?
  • Previous by thread: Re: NSView subclass
  • Next by thread: Re: NSView subclass
  • Index(es):
    • Date
    • Thread