<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/NSTextStorage/EditActions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@NSTextStorageEditActions"
  },
  "title" : "NSTextStorage.EditActions"
}
-->

# NSTextStorage.EditActions

Constants that indicate the types of changes.

```
struct EditActions
```

## Overview

These values are also OR’ed together in notifications to inform instances of `NSLayoutManager` was changed—see <doc://com.apple.documentation/documentation/AppKit/NSLayoutManager/textStorage(_:edited:range:changeInLength:invalidatedRange:)>.

## Topics

### Constants

[`static var editedAttributes: NSTextStorage.EditActions`](/documentation/UIKit/NSTextStorage/EditActions/editedAttributes)

Attributes were added, removed, or changed.

[`static var editedCharacters: NSTextStorage.EditActions`](/documentation/UIKit/NSTextStorage/EditActions/editedCharacters)

Characters were added, removed, or replaced.

### Initializers

[`init(rawValue: UInt)`](/documentation/UIKit/NSTextStorage/EditActions/init(rawValue:))

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`OptionSet`](/documentation/Swift/OptionSet)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)