Cocoa-Binding : Submit changes manually?
Posted
by Holli
on Stack Overflow
See other posts from Stack Overflow
or by Holli
Published on 2010-04-22T05:45:49Z
Indexed on
2010/04/22
5:53 UTC
Read the original article
Hit count: 380
cocoa-bindings
|cocoa
Hello
in my application I have a NSTableView bound to an ArrayController (arrangedObjects). I also have a Details-View (just some textfields) bound to the same Controller (selection).
Now every time I edit a textfield the changes are automatically send to the ArrayController and the Table changes as well. How can I avoid this? What I want is a "Submit-Button". Changes on the data should only be send to the controller when I press the button and not automatically every time I do an edit.
© Stack Overflow or respective owner