NSTableView bound to array of NSString
NSTableView bound to array of NSString
- Subject: NSTableView bound to array of NSString
- From: Tom Birch <email@hidden>
- Date: Tue, 10 May 2005 18:51:55 +1000
I'm trying to bind an NSTableView with one column to an array
controller whose content array is an array of NSString instances. If
I don't set the model key for the single column, it displays the
content fine, inserts blank items fine, but breaks when trying to
edit values:
2005-05-10 17:56:56.965 MyApp[5506] Error setting value for key path
of object (from bound object <NSTableColumn: 0x34d8f0>):
[<NSCFString 0x3d48a0> setValue:forUndefinedKey:]: this class is not
key value coding-compliant for the key.
There must be some simple way to do this without writing my own
accessor methods, mustn't there?
Tom
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden