---
title: "#nsattributedstring articles | Hashnode"
description: "Explore 1 articles tagged #nsattributedstring on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/nsattributedstring"
---

Tag

# #nsattributedstring

1 posts · 0 followers

[Andrés Portillo](https://hashnode.com/@andresportillo) · [Jan 1, 2024](https://hashnode.com/posts/replacing-attributed-text-in-uitextview-with-undomanager-support/65935196e7bbf21a817d267c)

### [Replacing attributed text in UITextView with UndoManager support](https://andresandswift.com/replacing-attributed-text-in-uitextview-with-undomanager-support?utm_source=hashnode&utm_medium=feed)

When working on apps with text editing capabilities, a must have feature is to allow users to undo their changes, UITextViews makes this easier via the undoManager property. Text changes performed with the replaceRange:withText: are automatically reg...

1 min read · [andresandswift.com](https://andresandswift.com/replacing-attributed-text-in-uitextview-with-undomanager-support?utm_source=hashnode&utm_medium=feed)
