On Mar 9, 2012, at 1:35 AM, Graham Cox wrote:
>
> The key is nil (null). So the problem is where the key is coming from, not
> the operation of the Action class.
>
You could try overriding setValue:forUndefinedKey: (see NSKeyValueCoding
Protocol Reference) in your Action class and set a break
You can specify them in IB Don.
In the tree of XIB elements (under the Objects header) locate and select the
Table Column element. I the Identity Inspector the second heading reads User
Interface Item Identifier. Set this to the column id you wish to use in your
code (the variable name perhaps)
Thanks to Mike and Graham for the replies.
I think I figured out where the problem was. I am putting data into an
NSTableView, with one ivar from the Action class in each column. My original
project was so old that it used nibs instead of xibs, so I redid them all. In
the new Xcode there doesn'
On 09/03/2012, at 5:57 PM, Donald Hall wrote:
> s class is not key value coding-compliant for the key (null).
The key is nil (null). So the problem is where the key is coming from, not the
operation of the Action class.
--Graham
___
Cocoa-dev maili
Got a stack trace?
Sent from my iPad
On 9 Mar 2012, at 06:57 AM, Donald Hall wrote:
> Does anyone have any idea what might be wrong if I am getting this exception:
>
> Uncaught Exception:
> NSUnknownKeyException
> [ valueForUndefinedKey:]: this class is not key value
> co
Does anyone have any idea what might be wrong if I am getting this exception:
Uncaught Exception:
NSUnknownKeyException
[ valueForUndefinedKey:]: this class is not key value
coding-compliant for the key (null).
Action is one of my classes. I am upgrading an old project for Lion. The
present