开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜