Cocoa: I've got my user's input - Now what?
问题 In a nutshell what my program does is: it executes and takes user input periodically using nswindow (which is controlled by my NSWindowController object) and continues execution. here is my myController.mm which is calling and showing the window to take user input: EncryptPasswordDlgController encPassController = [[EncryptPasswordDlgController alloc] init]; [encPassController showWindow:self]; NSString *inputPassword = [encPassController password]; here is my nswindowcontroller object code: