Re: OK to use setCharactersToBeSkipped:nil ?
Re: OK to use setCharactersToBeSkipped:nil ?
- Subject: Re: OK to use setCharactersToBeSkipped:nil ?
- From: Mason Mark <email@hidden>
- Date: Fri, 30 Jan 2004 07:04:51 -0800
Yes, that is correct.
There is some default value for characters to be skipped
([NSCharacterSet whitespaceCharacterSet] I think), but your line of
code is common and will work as you intend.
--
Mason Mark
Five Speed Software, Inc.
On Jan 30, 2004, at 5:20 AM, Matt Gough wrote:
The documentation doesn't explicitly state whether calling:
[someScanner setCharactersToBeSkipped:nil]
is a legal way of having no characters that are skipped.
As far as I can tell it behaves the same as using an empty
characterSet, but also seems to make some scanning operations faster.
Can someone please confirm that if I use nil, that I won't get bitten
in some future system release.
Thanks
Matt Gough
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.