Re: problem with rangeOfString debugger warning
Re: problem with rangeOfString debugger warning
- Subject: Re: problem with rangeOfString debugger warning
- From: 2551 <email@hidden>
- Date: Fri, 31 Jul 2015 10:33:39 +0700
> On 30 Jul 2015, at 23:19, Jens Alfke <email@hidden> wrote:
>
> You’re confusing -substringWithRange: with -rangeOfSubstring:. The documentation and warning you cite come from the former, but you’re talking about the latter.
-rangeOfString: invokes, rangeOfString: options:, which invokes rangeOfString: options: range:. The quote comes from there.
Thanks for the other points; I’d got there myself after a night’s rest, but the NSAssert’s a nice touch I’ll remember for another time.
Best
Phil
_______________________________________________
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