Enumeration

NSMatchingFlags

Set by the Block as the matching progresses, completes, or fails. Used by the method enumerateMatchesInString:options:range:usingBlock:.

Declaration

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

Topics

Constants

NSMatchingProgress

Set when the Block is called to report progress during a long-running match operation.

NSMatchingCompleted

Set when the Block is called after matching has completed.

NSMatchingHitEnd

Set when the current match operation reached the end of the search range.

NSMatchingRequiredEnd

Set when the current match depended on the location of the end of the search range.

NSMatchingInternalError

Set when matching failed due to an internal error.

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