Instance Property


Flag that indicates whether the receiver distinguishes case in the characters it scans.


var caseSensitive: Bool { get set }


true if the receiver distinguishes case in the characters it scans, otherwise false. The default value is false. Note that case sensitivity doesn’t apply to the characters to be skipped.

See Also

Configuring a Scanner

var scanLocation: Int

The character position at which the receiver will begin its next scanning operation.

var charactersToBeSkipped: CharacterSet?

Character set containing the characters the scanner ignores when looking for a scannable element.

var locale: Any?

The locale to use when scanning.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software