<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.0.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/NSObject-swift.class/objectDidBeginEditing:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Objective-C Runtime"
    ],
    "preciseIdentifier" : "c:objc(cs)NSObject(im)objectDidBeginEditing:"
  },
  "title" : "objectDidBeginEditing:"
}
-->

# objectDidBeginEditing:

This message should be sent to the receiver when `editor` has uncommitted changes that can affect the receiver.

```
- (void) objectDidBeginEditing:(id<NSEditor>) editor;
```

## See Also

  [Cocoa Bindings Programming Topics](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CocoaBindings/CocoaBindings.html#//apple_ref/doc/uid/10000167i)

[`- (void) objectDidEndEditing:(id<NSEditor>) editor;`](/documentation/ObjectiveC/NSObject-swift.class/objectDidEndEditing:)

This message should be sent to the receiver when `editor` has finished editing a property belonging to the receiver.



---

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)