Type Method

localizedScannerWithString:

Returns an NSScanner object that scans a given string according to the user’s default locale.

Declaration

+ (id)localizedScannerWithString:(NSString *)string;

Parameters

aString

The string to scan.

Return Value

An NSScanner object that scans aString according to the user’s default locale.

Discussion

Sets the string to scan by invoking initWithString: with aString. The locale is set with NSScanner.

See Also

Creating a Scanner

+ scannerWithString:

Returns an NSScanner object that scans a given string.

- initWithString:

Returns an NSScanner object initialized to scan a given string.