RichTextKit will use semver after 1.0.
Until then, features may be deprecated in a minor version and removed in the next minor version.
This is a small bugfix release.
RichTextAlignmentWriter
now uses safe ranges to avoid occasional crashes.
This is the first beta release of RichTextKit.
The release includes the following.
RichTextView
is a replacement forUITextView
andNSTextView
.RichTextEditor
is a SwiftUI view that embeds aRichTextView
.RichTextContext
is used to inspect and interact with aRichTextEditor
.RichTextCoordinator
is used by aRichTextEditor
to keep the text view and context in sync.
RichTextKit adds extensive support for a bunch of rich text features:
- Alignment
- Attributes
- Colors
- Data
- Export
- Fonts
- Images
- Pasteboard extensions
- Sharing
- Styles
- Views