In MainMenu.xib, add an app delegate object and override:

- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender {

        return NO;

}

On Jul 28, 2009, at 2:41 PM, Korei Klein wrote:

I have a subclass of NSDocument which is initialized whenever I open a new document and when my application is first started. How do I change the application such that my subclass is not initialized when I start the application?
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/c.ed.mead%40gmail.com

This email sent to c.ed.m...@gmail.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to