Enumeration

NSStringEnumerationOptions

Constants to specify kinds of substrings and styles of enumeration.

Declaration

typedef enum NSStringEnumerationOptions : NSUInteger {
    ...
} NSStringEnumerationOptions;

Overview

These options are used with the enumerateSubstringsInRange:options:usingBlock: method. Pass in one NSStringEnumerationBy... option and combine with any of the remaining enumeration style constants using the C bitwise OR operator.

See Also

Performing Linguistic Analysis

- enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:

Performs linguistic analysis on the specified string by enumerating the specific range of the string, providing the Block with the located tags.

- linguisticTagsInRange:scheme:options:orthography:tokenRanges:

Returns an array of linguistic tags for the specified range and requested tags within the receiving string.