问题
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