onapplicationWillFinishLaunching_(aNotification)– Insert code here to initialize your application before any files are opened endapplicationWillFinishLaunching_onapplicationShouldTerminate_(sender)– Insert code here to do any housekeeping before your application quits returncurrent application’s NSTerminateNowendapplicationShouldTerminate_