In article <fru30r$pg9$1@[EMAIL PROTECTED]
>,
Dave Seaman <dseaman@[EMAIL PROTECTED]
> wrote:
> >> > I want to bind values in my custom view to an existing and well
> >> > functioning array controller. This controller exists in IB only, so
how
> >> > do I bind to its instance? Should I bind to its class? That doesn't
> >> > sound right.
> >>
> >> You create an outlet and connect it to the array controller in IB.
>
> > Mmmm ... yes, but is that enough? On the bindings tab in IB, my custom
> > view still only has two bindings: "Availability/Hidden" and
> > "Parameters/Tool Tip".
>
> You asked for a way to bind to an instance of NSArrayController instead
> of a class. That's the question I answered. You still need to set up
> the actual bindings, but you now have something to bind to.
Ok, I got it now, I think. Now I can bind to the NSArrayController, but
setting up the bindings don't work. The bind methods seem to have too
little information about the array controller.
It looks more and more like I need to subclass the NSArrayController,
which I have suspected for some time. Later on I will need more than
just the abstract class.
Thanks.
Jens


|