Re: NSScanner question
Re: NSScanner question
- Subject: Re: NSScanner question
- From: Jens Alfke <email@hidden>
- Date: Tue, 19 Mar 2013 18:37:48 -0700
On Mar 19, 2013, at 4:37 PM, Graham Cox <email@hidden> wrote:
> I don't find NSScanner all that useful for searching for specific strings in a stream.
Agreed. There is a very narrow range of use cases for NSScanner — simple searches can be done with NS[Mutable]String directly, and more sophisticated ones tend to require (or be easier with) NSRegularExpression. I’ve only ended up using NSScanner a handful of times, ever.
—Jens
_______________________________________________
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