<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/UndoManager/WillRedoChangeMessage",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:So13NSUndoManagerC10FoundationE21WillRedoChangeMessageV"
  },
  "title" : "UndoManager.WillRedoChangeMessage"
}
-->

# UndoManager.WillRedoChangeMessage

A message that an undo manager sends before redoing a change.

```
struct WillRedoChangeMessage
```

## Overview

The undo manager posts this message after you call [`redo()`](/documentation/Foundation/UndoManager/redo()).
Because this is a “will”-style message, the undo manager sends the message before it performs the redo.

Observe this message with the identifier [`willRedoChange`](/documentation/Foundation/NotificationCenter/MessageIdentifier/willRedoChange), or specify its type directly to the `addObserver(of:for:using:)` method.
The [`Subject`](/documentation/Foundation/NotificationCenter/MainActorMessage/Subject) of this message type is [`UndoManager`](/documentation/Foundation/UndoManager).

This message interoperates with the notification [`NSUndoManagerWillRedoChange`](/documentation/Foundation/NSNotification/Name-swift.struct/NSUndoManagerWillRedoChange).
The system notifies observers of the message when the [`NotificationCenter`](/documentation/Foundation/NotificationCenter) posts the notification.
Similarly, the system notifies observers of the notification when it posts the message.

## Topics

### Initializers

[`init()`](/documentation/Foundation/UndoManager/WillRedoChangeMessage/init())

Creates a will redo change message.

## Relationships

### Conforms To

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

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

[`MainActorMessage`](/documentation/Foundation/NotificationCenter/MainActorMessage)

---

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)