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

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