Subclass [NSWindow restorationClass] and return nil should work.

----- Original Message -----
From: "Todd Heberlein" <todd_heberl...@mac.com>
To: Cocoa-dev@lists.apple.com
Sent: Monday, July 2, 2012 10:20:05 AM
Subject: NSDocument last document loading

I have a document-based application, and when it starts it tries to 
automatically load previously opened documents (running on Lion). Is there a 
way to disable this behavior in the program?


My problem is that the document loads/analyzes data sets, and some of the very 
large ones can take up to 10 minutes to analyze. Sitting around waiting 10 
minutes for the app to finish starting is a pain, especially when the user just 
wants to quickly view a new, small data set.

Thanks,

Todd

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/lrucker%40vmware.com

This email sent to lruc...@vmware.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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to