2

If there are multiple window in an application how do I pass values between them?

My first approach would be to create a NSWindowController for any window, and assign these controllers to the Application Delegate.

Am I on the right way? What do you suggest?

Termininja
  • 6,620
  • 12
  • 48
  • 49
MatterGoal
  • 16,038
  • 19
  • 109
  • 186

1 Answers1

2

Yes, your technique is fine. If you are creating a document-based application you can also do this in your NSDocument subclass.

Kurt Revis
  • 27,695
  • 5
  • 68
  • 74
jtbandes
  • 115,675
  • 35
  • 233
  • 266