Re: Odd binding issue
Re: Odd binding issue
- Subject: Re: Odd binding issue
- From: Scott Anguish <email@hidden>
- Date: Fri, 12 Mar 2004 21:02:46 -0500
On Mar 12, 2004, at 9:46 AM, Allan Odgaard wrote:
On 12. Mar 2004, at 16:13, Timothy Reaves wrote:
description] would return. As to using @"value", I think you might
need to check your sources. 'Uncaught exception:
<NSUnknownKeyException>[<NSTextView 0x346f40> valueForUndefinedKey:]:
this class is not key value coding-compliant for the key value.'
The properties exposed by the view classes are not key-value-coding
compliant, so you cannot observe them nor set/get their value -- but
you can use them as the "binding" argument when sending the view class
a "bind:..." message.
That's not the issue here.
value is not exposed unless the NSTextView is configured so as to have
only a single font.
Please, do not use 'bindings' that are not actually exposed as
'bindings' and expect them to work correctly.
This is especially important in the case of NSTextView and NSTextField
and other items that use the NSEditor/Registration protocols.
Use the exposed bindings for bindings. That's what they're there for.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.