Create a gist now

Instantly share code, notes, and snippets.

anonymous /close.m
Created Aug 9, 2017

What would you like to do?
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
[[[[NSApplication sharedApplication] windows] lastObject] close];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment