<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextView/WillChangeNotifyingTextViewMessage",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "s:So10NSTextViewC6AppKitE023WillChangeNotifyingTextB7MessageV"
  },
  "title" : "NSTextView.WillChangeNotifyingTextViewMessage"
}
-->

# NSTextView.WillChangeNotifyingTextViewMessage

```
struct WillChangeNotifyingTextViewMessage
```

## Topics

### Initializers

[`init(textView: NSTextView, oldNotifyingTextView: NSTextView?, newNotifyingTextView: NSTextView?)`](/documentation/AppKit/NSTextView/WillChangeNotifyingTextViewMessage/init(textView:oldNotifyingTextView:newNotifyingTextView:))

### Instance Properties

[`var newNotifyingTextView: NSTextView?`](/documentation/AppKit/NSTextView/WillChangeNotifyingTextViewMessage/newNotifyingTextView)

[`var oldNotifyingTextView: NSTextView?`](/documentation/AppKit/NSTextView/WillChangeNotifyingTextViewMessage/oldNotifyingTextView)

[`var textView: NSTextView`](/documentation/AppKit/NSTextView/WillChangeNotifyingTextViewMessage/textView)

## Relationships

### Conforms To

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

[`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)