Detecting when document window is actually displayed
Detecting when document window is actually displayed
- Subject: Detecting when document window is actually displayed
- From: Luc Van Bogaert <email@hidden>
- Date: Sat, 09 Jun 2012 14:33:02 +0200
Hi,
I'm trying to display a custom modal sheet on my document windows (only if some condition applies of course), as soon as the document window is displayed. I tried calling beginSheet:modalForWindow: in my window controller's windowDidLoad: method, but that seems to be too early and results in the sheet being displayed separately instead of on the window. I've also checked NSWindowDelegate methods for something usable but so far without success. What would be the preferred place to display the modal sheet?
Thanks,
--
Luc Van Bogaert
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden