Understanding diagnostics
Understanding diagnostics
- Subject: Understanding diagnostics
- From: Michael de Haan <email@hidden>
- Date: Mon, 19 Oct 2009 09:24:22 -0700
Hi All,
I figured out the issue with this error code, but am curious as to where I can get more info as to interpreting a diagnostic.
For completeness, here is the error message. (Using Xcode 3.2)
2009-10-19 09:00:49.005 SimpleBindings_prog_bindings[245:a0f] [<MyDocument 0x100141a50> addObserver:<NSTextValueBinder 0x10014bfb0> forKeyPath:@"selection.volume" options:0x0 context:0x10014c880] was sent to an object that is not KVC-compliant for the "selection" property.
Which was generated by this call:
[[self textField] bind:@"value" toObject:self withKeyPath:@"selection.volume" options:nil];
(The error was of course sending the message to self instead of to a controller. Once changed, the program worked as expected.)
One quick question. Is the "<MyDocument 0x100141a50>" in the error message the ( as it turns out, incorrect) receiver of this message? Which would be a rather good clue as to the issue.
Thanks in advance. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden