Re: Bindings and 2 NSTableViews
Re: Bindings and 2 NSTableViews
- Subject: Re: Bindings and 2 NSTableViews
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 9 Jan 2005 17:37:53 -0800
On Jan 9, 2005, at 3:47 PM, email@hidden wrote:
Thats what i though also, but when i do that, i get this error:
[<BSCollection 0x3798f0> setValue:forUndefinedKey:]: this class is not
key value coding-compliant for the key objects.
Sorry, there was a mistake in my first reply.
You bind the contentArray of the second array controller to:
[Categories Controller].selection.collection
should have been (as Joakim stated in his post):
You bind the contentArray of the second array controller to:
[Categories Controller].selection.collection.objects
So I'm not sure exactly, now, what you've bound to what, but from the
error message it looks like you probably have the bindings set up
correctly, at least according to your class description.
BSCollection
->NSMutableArray* objects
What accessor methods do you have defined for BSCollection? Does
BSCollection actually have an instance variable called 'objects'?
mmalc
_______________________________________________
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