I've been banging my head for hours now. Has anyone implemented window state restoration? I cannot find any xamarin / c# example.
I have tried adoption INSWindowRestoration in my windowcontroller. Also in my awakefromnib (in the windowcontroller):
Window.Restorable = true;
Window.RestorationClass = this.Class;
Window.Identifier = "ModuleViewWindowController1";
But my
public static void RestoreWindow(string identifier, NSCoder state, NSWindowCompletionHandler completionHandler)
is never called