title: Editable NSTableView with Bindings won't set values in model
body: <p>Here is my setup. </p>
  
  <p>In my application delegate, I have a property called currentFoo. The currentFoo property is set to the currently selected Foo instance. The Foo instances each have a property which is a NSMutableArray called results. The objects in results can be of various types, NSNumber, NSString, etc...</p>
  
  <p>I have an NSTableView that is displayed at certain times which allows the user to see the collection of results in the currentFoo. There is also UI to allow adding to and deleting from the results. </p>
  
  <p>The NSTableView has a single column which is bound to an NSArrayController's arrangedObjects controller key. I have written a NSValueTransformer subclass that is used in this binding to convert the various possible types found in the results array to the string representation that I want shown in the table column.</p>
  
  <p>The NSArrayController's content array binding is connected to an NSObjectController's selection controller key, with currentFoo.results as the model key path. Finally the NSObjectController gets its content from the application delegate.</p>
  
  <p>This all works just great, adding, removing and displaying currentFoo.results in the NSTableView works just as I want.</p>
  
  <p>My problem is when I try to edit the content of the table view. I have set my NSValueTransformer subclass to allow reverse transformations and have implemented reverseTransformedValue:, stepping through the code shows me that when I edit the value in the NSTableView row, it is correctly sent to that method of my value transformer, transformed and returned. </p>
  
  <p>The error then occurs when the bindings try to then update the model with the reverse transformed value:</p>
  
  <blockquote>
    <p>Cocoa Bindings: Error setting value
    for key path  of object 0 (from bound
    object (null)): [ setValue:forUndefinedKey:]:
    this class is not key value
    coding-compliant for the key .</p>
  </blockquote>
  
  <p>So basically there is this array bound to the table view, and when the user edits the row, I want to transform the string back to the appropriate object. Cocoa bindings gives me this error which leads me to believe I need to set something in the key path of the NSTableColumn binding, but I'm not sure what. I've tried "self" and that didn't work.</p>
  
  <p>Any help is appreciated.</p>