title: Binding inside a NSTableCellView
body: <p>I'm using a NSOutlineView view based and i want to bind a NSSlider and a NSTextfield to a NSDictionary key (@""duration"). The dictionary is a property of my NSTableCellView subclass. I'm facing an error when trying to setup the binding :</p>
  
  <p>The error :</p>
  
  <pre><code>*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[&lt;NSApplication 0x100506400&gt; addObserver:&lt;NSTextValueBinder 0x102609a90&gt; forKeyPath:@"info.duration" options:0 context:0x10260c820] was sent to an object that is not KVC-compliant for the "info" property.'
  </code></pre>
  
  <p><strong><em>.h:</em></strong></p>
  
  <pre><code>#import &lt;Cocoa/Cocoa.h&gt;
  
  @interface ObjectFileTableCellView : NSTableCellView {
      NSTextField *_textFieldFilePath;
      NSTextField *_textFieldDesription;
      NSButton *_checkBox;
      NSDictionary* _info;
  
      NSSlider*  _slider;
      NSTextField* _labelStartTime;
  }
  
  
  @property(retain) IBOutlet NSTextField *textFieldFilePath;
  @property(retain) IBOutlet NSTextField *textFieldDescription;
  @property(retain) IBOutlet NSTextField *labelStartTime;
  @property(retain) IBOutlet NSSlider *slider;
  @property(retain) IBOutlet NSButton *checkBox;
  
  @property(retain) NSDictionary* info;
  
  @end
  </code></pre>
  
  <p><strong><em>.m :</em></strong></p>
  
  <pre><code>- (NSView *)outlineView:(NSOutlineView *)outlineView viewForTableColumn:(NSTableColumn *)tableColumn item:(id)item{
      if ([[tableColumn identifier] isEqualToString:@"Files"]) {
  
          if ([item isKindOfClass:[OMN_Object class]])
          {
  </code></pre>
  
  <p>//DONE
  - (NSView *)outlineView:(NSOutlineView *)outlineView viewForTableColumn:(NSTableColumn *)tableColumn item:(id)item{
      if ([[tableColumn identifier] isEqualToString:@"Files"]) {</p>
  
  <pre><code>    if ([item isKindOfClass:[OMN_Object class]])
      {
          OMN_Object *o = item;
  
          ObjectFileTableCellView *v = [outlineView makeViewWithIdentifier:@"FileCell" owner:self]; // File'S owner
  
  
                  hide = NO;
                  NSString* d = [o.fileInfoDetails valueForKey:@"duration"];
                  [v.slider setMinValue:0];
                  [v.slider setMaxValue:[d doubleValue]];
  
                  NSString *val = [NSString stringWithFormat:@"%f", v.slider.doubleValue];
                  [v.labelStartTime setStringValue:val];
                  [o.fileInfoDetails setValue:val forKey:@"startTime"];
                  v.info = o.fileInfoDetails;
  
      ...
  </code></pre>
  
  <p><strong><em>My NSOutlineView view:</em></strong></p>
  
  <p><img src="https://i.stack.imgur.com/L8Gfd.png" alt="NSTableColumn"></p>
  
  <p><strong><em>NSTableColumn:</em></strong></p>
  
  <p><img src="https://i.stack.imgur.com/OkTax.png" alt="Last"></p>
  
  <p><strong><em>NSTextField Binding Setup:</em></strong></p>
  
  <p><img src="https://i.stack.imgur.com/1rilf.png" alt="Binding Setup">
  <img src="https://i.stack.imgur.com/0kNMn.png" alt="Binding setup 2"></p>
  
  <p>The wanted result :</p>
  
  <p><img src="https://i.stack.imgur.com/hrEqj.png" alt="Jimi Hendrix"></p>
  
  <p>How to setup the binding to get what i want ?</p>