---
title: longestEffectiveRangeNotRequired
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsattributedstring/enumerationoptions/longesteffectiverangenotrequired
---

# longestEffectiveRangeNotRequired

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.

## Declaration

```swift
static var longestEffectiveRangeNotRequired: NSAttributedString.EnumerationOptions { get }
```

## See Also

### Getting the enumeration options

- [reverse](foundation/nsattributedstring/enumerationoptions/reverse.md)
