DKGL2 sample codes

AppDelegate.m 738B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // AppDelegate.m
  3. // CocoaTest
  4. //
  5. // Created by tiff on 11/17/16.
  6. // Copyright © 2016 icondb. All rights reserved.
  7. //
  8. #import "AppDelegate.h"
  9. @interface AppDelegate ()
  10. @property (weak) IBOutlet NSWindow *window;
  11. @end
  12. @implementation AppDelegate
  13. - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
  14. // Insert code here to initialize your application
  15. NSLog(@"%s", __PRETTY_FUNCTION__);
  16. }
  17. - (void)applicationWillTerminate:(NSNotification *)aNotification {
  18. // Insert code here to tear down your application
  19. NSLog(@"%s", __PRETTY_FUNCTION__);
  20. }
  21. - (instancetype)init
  22. {
  23. NSLog(@"%s", __PRETTY_FUNCTION__);
  24. self = [super init];
  25. return self;
  26. }
  27. - (void)dealloc
  28. {
  29. NSLog(@"%s", __PRETTY_FUNCTION__);
  30. }
  31. @end