Hi,

I currently have an application that talks to a single device over TCP/ IP. My user interface has lots of parameters and status variables. I use bindings all over the place. The device is represented a custom NSObject instantiated in my MainMenu.xib. The various GUI elements are using bindings to the instantiated custom Object from the ManMenu.xib.

Now, I need to rewrite the app so that it can talk to multiple devices. I want to use bindings and write as little code as possible 8-) I'm considering an NSDocument based Applications and using panels/ palettes to display status and controls (100's) Each device will be represented by a different document.

My question, is :

when I select a different device, by making its window the frontmost, how do I get the panels/palettes to display the values related to the frontmost window/document and therefore, newly selected device. I would hate to have to setup 100 of observers ... or manually refresh 100's sliders/textfields/...

Hopefully, what I'm trying to do was explained clearly enough so that the collective wisdom of the list can point me toward the optimal approach.


thx in advance.


Louis Demers eng.
www.obzerv.com


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to