On Aug 16, 2012, at 7:08 , Dmitriy Balakirev <dmitriy.balaki...@gmail.com> wrote:
> I use undocumented NSWindowDidOrderOnScreenAndFinishAnimatingNotification. > Be careful when handling it. It seems firing more then one time, and > sometimes from thread other then main. Yeah, that was suggested to me by someone else, and I noticed it comes in more than once, too. I'll check the thread, though. I'm a little worried that will affect my ability to go into the App Store. > > 16.08.2012, в 7:02, Rick Mann <rm...@latencyzero.com> написал(а): > >> After googling, I found that in -[NSDocument windowControllerDidLoadNib], I >> had to begin my sheet by calling performSelector on the main thread >> (actually I scheduled a block operation). This is kinda gross, but seems to >> work. >> >> Unfortunately, the result is that the main window animates opening >> simultaneously with the sheet animating open. >> >> I'd really like the sheet to begin its animation after the main window >> finishes its own. Is there a "right" place to do this? >> >> -- >> Rick >> >> >> >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> 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: >> https://lists.apple.com/mailman/options/cocoa-dev/dmitriy.balakirev%40gmail.com >> >> This email sent to dmitriy.balaki...@gmail.com > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com