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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to