Now I want to show a splash Ui before App run , but I didn't know how to do with cocoa, somebody can give me some code about it , Thanks very much! The splash ui I think it is a pucture , but how to show it before app running?
Usually it's at awakeFromNib or applicationDidFinishLaunching. awakeFromNib should probably be reserved for setting up UI stuff specific to that nib, while applicationDidFinishLaunching is better for general launch tasks. But it's still up to how the app was written.
First Thank you very much. And I show the window in applicationWillFinishLaunching method use orderFront,then hide it in applicationDidFinishLaunching: use orderOut,Now I found that the mainWindow not to show and the app terminate ,why ? How to do to resolute this question? Thanks!