Hello! Thanks for the reply. Just using insertText doesn't quite work for me, because I need to insert attributed strings.
My full use case is implementing bulleted lists without using NSTextList (because I have to support older OS versions), and selecting multiple lines and doing things like changing the indent level or removing list styling. The user taps one button and I have to add/remove/change list prefixes and change paragraph style attributes, and I want that to be undoable in one step.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: