nswindowcontroller + program execution [duplicate]

限于喜欢 提交于 2019-12-25 04:32:01

问题


Possible Duplicate:
Cocoa: I've got my user's input - Now what?

I am trying to use nswindows controller to handle user inputs during the program execution. I am able to get the user input in a nstextfield but when i am clicking on the ok or cancel button, their respective IBAction methods are getting executed and the control is not getting returned to the previous execution place that should execute after the nswindowcontroller gets the user input. Please suggest me a way to get over this.

Thanks


回答1:


What do you mean by "the previous execution place"? Cocoa apps are event-driven, you are pretty much always just responding to user input.

What is your app doing?



来源:https://stackoverflow.com/questions/1337591/nswindowcontroller-program-execution

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!