How to add data from an NSTextField to a Core Data Attribute without having to press Return or Tab a

Posted by roy-fleming on Stack Overflow See other posts from Stack Overflow or by roy-fleming
Published on 2010-06-06T11:51:23Z Indexed on 2010/06/06 14:22 UTC
Read the original article Hit count: 410

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 Data Entity if i press Tab or Return after writing in the NSTextField or if i focus another NSTextField with the mouse. If i just enter text in an NSTextField and press the OK-Button the entered text is lost.

Is there some attribute i can set in Interface Builder to change this NSTextField behaviour?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about interface-builder