Re: Parsing integers from strings
Re: Parsing integers from strings
- Subject: Re: Parsing integers from strings
- From: "Cyrus Najmabadi" <email@hidden>
- Date: Tue, 7 Oct 2008 15:59:29 -0400
"(On this occasion, please don't file a bug about the omission of these
methods from the documentation...)"
Why not? (or is it something that you're already doing. if so, thanks!)
-- Cyrus
On Tue, Oct 7, 2008 at 3:49 PM, mmalc crawford <email@hidden> wrote:
>
> On Oct 7, 2008, at 11:49 AM, Cyrus Najmabadi wrote:
>
> Unfortunately, NSScanner seems insufficient.
>> It doesn't seem able to handle 64bit hexadecimal numbers.
>>
>> From NSScanner.h, on Mac OS X v10.5 and later:
> - (BOOL)scanHexLongLong:(unsigned long long *)result;
> - (BOOL)scanHexFloat:(float *)result; // Corresponding to %a or
> %A formatting. Requires "0x" or "0X" prefix.
> - (BOOL)scanHexDouble:(double *)result; // Corresponding to %a or
> %A formatting. Requires "0x" or "0X" prefix.
>
> (On this occasion, please don't file a bug about the omission of these
> methods from the documentation...)
>
> mmalc
>
>
_______________________________________________
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