[Q] Bindings, FilteringController and KVC compliance
[Q] Bindings, FilteringController and KVC compliance
- Subject: [Q] Bindings, FilteringController and KVC compliance
- From: "Peter.Teeson" <email@hidden>
- Date: Thu, 16 Sep 2004 12:35:25 -0400
As part of the re-design of my app I am working my way through various
examples by mmalc.
I have read the Intro to Key Value coding, especially the section re
Ensuring KVC compliance.
However there may be something undocumented or maybe I just can't find
it.
Here's the problem;
Having checked in Project symbols and found only one reference to it I
commented out the
IBOutlet NSArrayController *peopleController in the interface for
MyDocument just to see what happens.
In IB in the MyDocument.nib file there is only one connection that I
could find and that was in the File's Owner.
So I disconnected it as well. I could not find any other explicit
references to peopleController.
When built and run that way I get an exception telling me that
MyDocument is not KVC compliant for the key peopleController.
So I am hypothesizing that because the NSArrayController instance is
bound to the NSMutableArray people that there is an implicit need to
also have an instance variable named peopleController. IOW among the
documentation there should somewhere be an example or explanation that
there is a need for it. But so far I havn't found it.
Am I correct? If so where would I look to check this?
TIA for your comments...
respect....
Peter
_______________________________________________
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