init(string:)
Returns an NSScanner object initialized to scan a given string.
Declaration
init(string: String)Parameters
- string:
The string to scan.
Return Value
An NSScanner object initialized to scan aString from the beginning. The returned object might be different than the original receiver.