Re: Using Bindings for an Inspector
Re: Using Bindings for an Inspector
- Subject: Re: Using Bindings for an Inspector
- From: Jim Correia <email@hidden>
- Date: Thu, 28 Jul 2005 21:55:02 -0400
On Jul 28, 2005, at 7:21 PM, Glen Simmons wrote:
My doc-based app will have an inspector panel for showing /
twiddling the various attributes of the selected object. This
seemed like the perfect application of Bindings to me, but I can't
figure out the first step: How do I bind to the selected object in
the front document? The inspector window lives in a separate nib,
so I can't bind contentArray to the document object. In all the
examples I've seen, bindings are within the same nib, not inter-
nib. How is this done? Some kind of pass through in the inspector
windows controller?
Yes. One technique might be to bind to
sharedApplication.mainWindow.windowController.arrayController.selectedOb
jects
for example.
Jim
_______________________________________________
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