wangdazhi

Tuesday, February 18, 2014

Mac OS Close App after close last window


- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)sender
{
    return YES;
}
Posted by icloudend at 7:30 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

icloudend
View my complete profile

Blog Archive

  • ►  2017 (2)
    • ►  November (1)
    • ►  October (1)
  • ►  2016 (1)
    • ►  February (1)
  • ►  2015 (2)
    • ►  September (1)
    • ►  July (1)
  • ▼  2014 (19)
    • ►  March (5)
    • ▼  February (14)
      • Comic Reader PDF Mac OS App
      • mac hg
      • Key directories for Mac apps
      • Predicate Programming Guide
      • stduy Document Base App
      • NSAlert how to use
      • Retina Image Resize NSImage
      • DraggingView Mac OS APP
      • Webview have request is nil when call createWebVie...
      • Mac OS Close App after close last window
      • Generic RGB Profile Convert sRGB IEC61966-2.1
      • Icon Cooker for Developers using Xcode to build t...
      • performSelectorOnMainThread 使用
      • URL Web to PDF Mac
Simple theme. Powered by Blogger.