0.9.0
This version drops support for iOS 14, tvOS 14, macOS 11 and watchOS 7.
This version also consolidates all separate attribute readers and writers into the base attribute reader/writer protocols.
✨ Features
RichTextColor
is a new enum that defines supported colors that can be set.RichTextColorPicker
now works on all platforms.RichTextCommandButton
is a new button for commands.RichTextCommandButtonGroup
is a new button group for commands.RichTextContext
has new enum-based style and color functions.RichTextAttributeReader
can handle more colors and superscripting.RichTextAttributeWriter
can handle more colors and superscripting.
💡 Adjustments
RichTextAttributeReader
now has all specific getter functions.RichTextAttributeWriter
now has all specific setter functions.RichTextKeyboardToolbar
now opens the format sheet in medium size on iPhone.
🗑️ Deprecations
- All specific attribute reader/writer protocols are deprecated in favor of the base protocols.
- Many getter/setter functions have been prefixed with
richText
. RichTextAttributeWriter
renames functionality and omitsto:
param name.RichTextColorPicker
initializer has been cleaned up and simplified.RichTextColorPicker.PickerColor
has been deprecated.RichTextColorPickerColor
has been deprecated.RichTextContext
replaces a lot of action-based functions withhandle(_:)
.RichTextIndent
has been deprecated.RichTextIndentPicker
has been deprecated.RichTextViewComponent
and omitsto:
param name.
💥 Breaking Changes
- The rich text indent feature has been rewritten to use steps.
- Some
richTextMenu*
images are renamed torichTextAction*
. RichTextContext
replaces a lot of action-based functions withhandle(_:)
.