Multi window cocoa application
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 co开发者_高级运维ntrollers to the Application Delegate.
Am I on the right way? What do you suggest?
Yes, your technique is fine. If you are creating a document-based application you can also do this in your NSDocument subclass.
精彩评论