Inherits from DTAttributedTextContentView : UIView
Declared in DTRichTextEditorContentView.h

Overview

This class represents the content view of a DTRichTextEditorView which itself is a UIScrollView subclass.

It adds mutability and incremental layouting to DTAttributedTextContentView.

Instance Methods

relayoutTextInRange:

Recalculates the layout for the paragraphs covered by the given range.

- (void)relayoutTextInRange:(NSRange)range

Parameters

range

The string strange to relayout.

Declared In

DTRichTextEditorContentView.h

replaceTextInRange:withText:

Replaces the attributed text in the given range.

- (void)replaceTextInRange:(NSRange)range withText:(NSAttributedString *)text

Parameters

range

The string range to replace

text

The replacement text

Declared In

DTRichTextEditorContentView.h