Dear all,
If have seen lots of examples in which a NSTableView is bound to an NSArrayController which is bound to an array of entity objects, having various properties. However I am now trying to bind a table column to an array of strings and I don't seem to get this working. The string contents show up correctly, but when I try to modify an existing item, or add a new item, I get the error

Error setting value for key path of object (from bound object <NSTableColumn: 0x10bb40>(null)): [<NSCFString 0xa0609328> setValue:forUndefinedKey:]: this class is not key value coding- compliant for the key .

I got the NSArrayController bound to the NSMutableArray property of my AppController class. I set the class to NSMutableString (also tries NSString). The NSTableView is bound to the NSArrayController, as well as the table column.

Do I really need to create a class which only contains a string property to get this working, or is there any trick that I don't know about.

Thanks a lot for any suggestions.
Best regards
Meik

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to