Structure

NSAttributedString.EnumerationOptions

These constants describe the options available to the enumerateAttribute(_:in:options:using:) and enumerateAttributes(in:options:using:) methods.

Declaration

struct EnumerationOptions

Topics

Constants

static var reverse: NSAttributedString.EnumerationOptions

Causes the enumeration to occur in reverse.

static var longestEffectiveRangeNotRequired: NSAttributedString.EnumerationOptions

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.

Relationships

Conforms To