Re: SplashScreen issues
On 21 Jun '08, at 12:10 AM, Damien Cooke wrote: You make an excellent point. My app does take too long to load. Once I get closer to release I will see what I can do to reduce the load time. Perhaps move some stuff out of the MainMenu.xib. You've currently got a chicken-and-egg problem, then, because the splash screen needs to be in MainMenu.xib and won't be displayed until it loads... Have you tried profiling your application's launch time with Shark? It's pretty easy to do, and the results might surprise you. Sometimes it's something quite unexpected that's taking up the excess time. —Jens smime.p7s Description: S/MIME cryptographic signature ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: SplashScreen issues
Jens, You make an excellent point. My app does take too long to load. Once I get closer to release I will see what I can do to reduce the load time. Perhaps move some stuff out of the MainMenu.xib. Thanks for your assistance. Regards Damien On 21/06/2008, at 9:11 AM, Jens Alfke wrote: On 20 Jun '08, at 4:13 PM, Damien Cooke wrote: When creating a splash screen what condition do you use to decide when to close your splash screen? Is there some obvious event that is triggered that I can use? Your app delegate's -applicationDidFinishLaunching: method is probably the best place. That's the final callback you're going to get from NSApplication during the launch process; it happens after any documents/URLs are opened. do I use [window orderOut:self] to close it? Or is there a better way? That's how you close a window. That said, I think splash screens are largely unnecessary. Often the presence of a splash screen is a sign that the app launches too slowly. Notice that Photoshop Elements 6 has a splash screen, which stays up for about 30 seconds while it launches, and helpfully shows the names of all the things it's loading. By comparison, Pixelmator comes up in about three seconds on my machine, without showing a splash screen. Guess which app I'm more likely to use? —Jens ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
Re: SplashScreen issues
On 20 Jun '08, at 4:13 PM, Damien Cooke wrote: When creating a splash screen what condition do you use to decide when to close your splash screen? Is there some obvious event that is triggered that I can use? Your app delegate's -applicationDidFinishLaunching: method is probably the best place. That's the final callback you're going to get from NSApplication during the launch process; it happens after any documents/URLs are opened. do I use [window orderOut:self] to close it? Or is there a better way? That's how you close a window. That said, I think splash screens are largely unnecessary. Often the presence of a splash screen is a sign that the app launches too slowly. Notice that Photoshop Elements 6 has a splash screen, which stays up for about 30 seconds while it launches, and helpfully shows the names of all the things it's loading. By comparison, Pixelmator comes up in about three seconds on my machine, without showing a splash screen. Guess which app I'm more likely to use? —Jens smime.p7s Description: S/MIME cryptographic signature ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
SplashScreen issues
Hi all, When creating a splash screen what condition do you use to decide when to close your splash screen? Is there some obvious event that is triggered that I can use? do I use [window orderOut:self] to close it? Or is there a better way? Thanks and Regards Damien ___ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]