Blog

RichTextKit updates

Jun 2, 2023 swiftuirich-textopen-source

After a long time away from the project, I finally had some time to revisit RichTextKit and add some new features, like indentation support and grouped controls.

RichTextKit aims to make rich text editing easier in SwiftUI and UIKit, on iOS, macOS, tvOS and watchOS. However, since I don’t work with rich text apps on a daily basis, I get little time to work on it.

Thanks to a client project, I’ve had the opportunity to revisit the project, and am happy to release a new version that adds some new features from the community.

One such feature is support for increasing and decreasing the text indent level. There are also new context functions for setting and resetting the rich text and extensions to handle image attachments.

I have also redesigned the format sheet on iOS and the format sidebar on macOS, which now group related buttons. This is what it looks like on iOS:

Sheet with grouped buttons

…and this is what it looks like on macOS:

Sidebar with grouped buttons

Other than that, there are a bunch of tweaks and bug fixes here and there. This can all be found in the 0.6 release, For more information, visit the project and the release notes.