xcode - How to get the stringValue of a Text Field Cell inside a Table View after editing the cell? -


i have standard table view default settings inside main nib. use array controller , bindings dealing data table view should show users. achieved "add" button inserts new row , sets first column editing mode users can type text immediately. problem can't detect when editing on , should save new values. couldn't find delegate method and/or notification purpose. searched internet , couldn't find useful. i'm not sure i'm doing right, didn't add specific thing, use standard double click editing table view offers each cell.

any appreciated. in advance!

if have hooked bindings, shouldn't need save data until exit program. when array controller's add: method called, new record added controller's arranged objects, , array holding data updated. so, need save array when app closes.

however, if wish save data after every edit, can detect end of editing delegate method controltextdidendediting:. notification after each column finished editing (make sure make class implement method delegate of table view).


Comments