Enumeration

NSTextCheckingType

These constants specify the type of checking the methods should do. They are returned by resultType.

Declaration

typedef enum NSTextCheckingType : uint64_t {
    ...
} NSTextCheckingType;

Topics

Constants

NSTextCheckingTypeOrthography

Attempts to identify the language

NSTextCheckingTypeDate

Attempts to locate dates.

NSTextCheckingTypeAddress

Attempts to locate addresses.

NSTextCheckingTypeLink

Attempts to locate URL links.

NSTextCheckingTypeQuote

Replaces quotes with smart quotes.

NSTextCheckingTypeDash

Replaces dashes with em-dashes.

NSTextCheckingTypeReplacement

Replaces characters such as (c) with the appropriate symbol (in this case ©).

NSTextCheckingTypeCorrection

Performs autocorrection on misspelled words.

NSTextCheckingTypeRegularExpression

Matches a regular expression.

NSTextCheckingTypePhoneNumber

Matches a phone number.

NSTextCheckingTypeTransitInformation

Matches a transit information, for example, flight information.

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