Re: Getting a splash screen to show
Re: Getting a splash screen to show
- Subject: Re: Getting a splash screen to show
- From: Steve Mills <email@hidden>
- Date: Wed, 15 May 2013 11:29:41 -0500
I added more nextEventMatchingMask's and the 4th one would actually cause the document to be restored, which was way too early in the init method to do that. But I found this, which seems to work much more reliably. It takes care of doing event type stuff and displays the window.
NSModalSession session = [[NSApplication sharedApplication] beginModalSessionForWindow:splashWindow];
[[NSApplication sharedApplication] endModalSession:session];
Continue doing regular init code, leaving the window onscreen…
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
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