• 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: problem with rangeOfString debugger warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >problem with rangeOfString debugger warning (From: 2551 <email@hidden>)
 >Re: problem with rangeOfString debugger warning (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Regarding these Olivia messages. Can we do something about the list security?
  • Next by Date: Re: NSManagedObject, NSString property retain vs copy
  • Previous by thread: Re: problem with rangeOfString debugger warning
  • Next by thread: Setting NSOutlineView Delegate When a Subview
  • Index(es):
    • Date
    • Thread