Instance Property

fixesAttributesLazily

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

Declaration

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

Discussion

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.