Enumeration

NSAttributedStringEnumerationOptions

These constants describe the options available to the enumerateAttribute:inRange:options:usingBlock: and enumerateAttributesInRange:options:usingBlock: methods.

Declaration

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

Topics

Constants

NSAttributedStringEnumerationReverse

Causes the enumeration to occur in reverse.

NSAttributedStringEnumerationLongestEffectiveRangeNotRequired

If NSAttributedStringEnumerationLongestEffectiveRangeNotRequired option is supplied, then the longest effective range computation is not performed; the blocks may be invoked with consecutive attribute runs that have the same value.

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