How to add data from an NSTextField to a Core Data Attribute without having to press Return or Tab after editing the TextField?

后端 未结 1 1296
逝去的感伤
逝去的感伤 2021-01-07 07:10

I use a sheet with 3 NSTextFields and a Cancel- and OK-Button to edit the attributes of a Core Data Entity. The text entered in the NSTextFields is only updated in the Core

相关标签:
1条回答
  • 2021-01-07 07:52

    The answer in my case is to check the “continuously updates value” option in the NSTextField’s value binding. For other answers to the same problem see: Red Sweater Blog — Stay Responsive: http://www.red-sweater.com/blog/229/stay-responsive

    0 讨论(0)
提交回复
热议问题