Instance Property


A Boolean value indicating whether the text storage object fixes attributes lazily.


iOS, Mac Catalyst, tvOS
@property(readonly, nonatomic) BOOL fixesAttributesLazily;
@property(readonly) BOOL fixesAttributesLazily;


When subclassing, the default value of this property is NO, meaning that your subclass fixes attributes immediately when they are changed. The system’s concrete subclass overrides this property and sets it to YES.

See Also

Handling Text Editing Messages

- edited:range:changeInLength:

Tracks changes made to the receiver, allowing the text storage to record the full extent of changes made.

- ensureAttributesAreFixedInRange:

Ensures that attributes are fixed in the given range.

- invalidateAttributesInRange:

Invalidates attributes in the specified range.

- processEditing

Cleans up changes made to the receiver and notifies its delegate and layout managers of changes.