Hi
I've created a sheet for my window and i want to make the sheet appear in a NSImageView rect. Instead of display it in the menu bar of my window.
I know i must use the delegate method : window:willPositionSheet:usingRect:
So I tried to implement this method in my WindowController (NSWindowController) and then set the "delegate" to it in IB but nothing happened ...
The delegate method is not even called ! Could you help me with that ?
I wonder if this delegate method works with NSWindowController ... !?
Thx
Apple doc : http://developer.apple.com/documentation/Cocoa/Conceptual/Sheets/Tasks/PositioningSheets.html#//apple_ref/doc/uid/20002082
I've created a sheet for my window and i want to make the sheet appear in a NSImageView rect. Instead of display it in the menu bar of my window.
I know i must use the delegate method : window:willPositionSheet:usingRect:
So I tried to implement this method in my WindowController (NSWindowController) and then set the "delegate" to it in IB but nothing happened ...
The delegate method is not even called ! Could you help me with that ?
I wonder if this delegate method works with NSWindowController ... !?
Thx
Apple doc : http://developer.apple.com/documentation/Cocoa/Conceptual/Sheets/Tasks/PositioningSheets.html#//apple_ref/doc/uid/20002082