title: Cocoa binding programmatically + not updating value?
body: <p>I have a custom class (subclass of <code>NSView</code> - actually let's say a modified editor, but NOT a subclass of <code>NSTextView</code>) which I'm binding to an <code>NSArrayController</code> programmatically <em>(I most definitely canNOT do it via Interface Builder)</em>, like this :</p>
  
  <pre><code>[myEditor bind:@"string" 
       toObject:myController 
    withKeyPath:@"selection.content" 
        options:nil];
  </code></pre>
  
  <p>The above works, however when the value is changed, it is NOT updated to my <code>NSArrayController</code> - it's as if it doesn't "stick".</p>
  
  <p>I've even tried, using the <code>options</code> below, but to no avail :</p>
  
  <pre><code>NSDictionary* options = [NSDictionary dictionaryWithObjectsAndKeys:
                           [NSNumber numberWithBool:YES],NSContinuouslyUpdatesValueBindingOption, 
                           [NSNumber numberWithBool:YES],NSAllowsEditingMultipleValuesSelectionBindingOption,
                           [NSNumber numberWithBool:YES],NSConditionallySetsEditableBindingOption,
                           [NSNumber numberWithBool:YES],NSRaisesForNotApplicableKeysBindingOption,
                           nil];
  </code></pre>
  
  <p>Any ideas?</p>