This seems to work, but the applicationShouldOpenUntitledFile method never seems to get called:
// Let's not open default window just because we're being brought to the front.
-(BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)hasVisibleWindows
{
return NO;
}
-(BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
{
return NO;
}
Topic:
UI Frameworks
SubTopic:
AppKit