> On 30 Jul 2015, at 23:19, Jens Alfke <j...@mooseyard.com> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com