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.