---
title: "Discussion on \"Replacing attributed text in UITextView with UndoManager support\" | Hashnode"
description: "Discussion on \"Replacing attributed text in UITextView with UndoManager support\". 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..."
url: "https://hashnode.com/posts/replacing-attributed-text-in-uitextview-with-undomanager-support/65935196e7bbf21a817d267c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [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...

Jan 1, 2024 · 1 min read · andresandswift.com  
Read the article

-   [#nsattributedstring](https://hashnode.com/tag/nsattributedstring)
-   [#uitextview](https://hashnode.com/tag/uitextview)
-   [#ios](https://hashnode.com/tag/ios)
-   [#xcode](https://hashnode.com/tag/xcode)

## Written by

[Andrés Portillo](https://hashnode.com/@andresportillo)

@andresportillo

  
[View profile](https://hashnode.com/@andresportillo)

Software Engineer building on Apple platforms

I am a software engineer based in Berlin primarily developing for Apple platforms. Previous professional experiences include SoundCloud, Spotify and Shopify.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
