• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Application Architecture or approach
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Application Architecture or approach


  • Subject: Application Architecture or approach
  • From: Louis Demers <email@hidden>
  • Date: Wed, 11 Feb 2009 20:07:51 -0500

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@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Application Architecture or approach
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Core Data: right way to gather all elements of a to-many relationship?
  • Next by Date: Re: Application Architecture or approach
  • Previous by thread: Re: Saving a PDF Selection or converting it to an NSRange and back
  • Next by thread: Re: Application Architecture or approach
  • Index(es):
    • Date
    • Thread