When I try the following call
((MyDocument) this.UndoManager.PrepareWithInvocationTarget(this)).DoRemoveEntry (row);
I get the following error:
Could not find a valid superclass for type NSUndoManagerProxy. Did you forget to register the bindings at MonoMac.ObjCRuntime.Class.Register() or call NSApplication.Init()?
I know the problem has to do with Xamarin.Mac not supporting NSProxy, but does this mean there is no way to use NSInvocation based undo/redo? Why would there be a binding to PrepareWithInvocationTarget if thats the case?