Type Alias

NSTextCheckingOptionKey

Declaration

typedef NSString *NSTextCheckingOptionKey;

Topics

Spell Checker Options

NSTextCheckingDocumentAuthorKey

An NSString containing the name of an author to be associated with the document

NSTextCheckingDocumentTitleKey

An NSString containing the title to be associated with the document.

NSTextCheckingDocumentURLKey

An NSURL to be associated with the document.

NSTextCheckingOrthographyKey

An NSOrthography instance indicating an orthography to be used as a starting point for orthography checking, or as the orthography if orthography checking is not enabled.

NSTextCheckingQuotesKey

An NSArray containing four strings to be used with NSTextCheckingTypeQuote (opening double quote, closing double quote, opening single quote, and closing single quote in that order); if not specified, values will be taken from user's preferences.

NSTextCheckingReferenceDateKey

An NSDate to be associated with the document, used as a referent for relative dates; if not specified, the current date will be used.

NSTextCheckingReferenceTimeZoneKey

An NSTimeZone to be associated with the document, used as a reference for dates without time zones; if not specified, the current time zone will be used.

NSTextCheckingReplacementsKey

An NSDictionary containing replacements to be used with NSTextCheckingTypeReplacement; if not specified, values will be taken from user's preferences.

See Also

Data Detector Interaction

- menuForResult:string:options:atLocation:inView:

Provides a menu containing contextual menu items suitable for certain kinds of detected results.