I have some NSTextField
on the NSWindow
. And I set up the binding of the NSTextField
to shared user defaults controller. The problem is, when I type in the text field and close the window (Cmd + W), the value is not written to the shared user defaults controller.
But it works when I focus other text field.
So how to force the binding to update? Thanks!
Screenshot here: