Bindings trouble.
Bindings trouble.
- Subject: Bindings trouble.
- From: Glen Simmons <email@hidden>
- Date: Wed, 21 Sep 2005 18:27:53 -0500
(resending due to my failure to add a subject)
I'm having trouble trying to use bindings in an inspector. The
problem is that the objects I'm trying to inspect are different
classes. But I'd like to have the control apply to the objects in the
selection that it knows how to deal with and ignore the others. Example:
Selection contains: Foo 1, Foo 2, Bar 1, Baz 3
Control should bind to the lineColor key, which Foo and Bar
implement, but Baz does not.
If the Foos and the Bar have the same value for lineColor, the
control shows that value.
If the user picks a new color, the Foos and the Bar receive a
setLineColor message and the Baz is ignored.
Is this possible?
Thanks,
Glen
_______________________________________________
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