I used this code to show window controller window in modal view. I have actions in window controller for buttons in window. And when i click the button the app crashed and get no error message. Am I wrong in setting the delegate ?
[[NSApplication sharedApplication] beginSheet:windowObj.window modalForWindow:self.view.window modalDelegate:windowObj didEndSelector:nil contextInfo:nil];