PDFViewer/appdelegate/AppDelegate.m
changeset 3 523bf90e16b7
parent 1 58bbaa38119e
child 4 499c41b85afd
equal deleted inserted replaced
2:fd23014eaa85 3:523bf90e16b7
    13 @end
    13 @end
    14 
    14 
    15 @implementation AppDelegate
    15 @implementation AppDelegate
    16 
    16 
    17 - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    17 - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    18   // Insert code here to initialize your application
    18     // Insert code here to initialize your application
    19 }
    19 }
    20 
    20 
    21 - (void)applicationWillTerminate:(NSNotification *)aNotification {
    21 - (void)applicationWillTerminate:(NSNotification *)aNotification {
    22   // Insert code here to tear down your application
    22     // Insert code here to tear down your application
    23 }
    23 }
    24 
    24 
    25 - (BOOL)applicationShouldTerminateAfterLastWindowClosed:
    25 - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender {
    26     (NSApplication *)sender {
    26     return TRUE;
    27   return TRUE;
       
    28 }
    27 }
    29 
    28 
    30 @end
    29 @end