Re: NSDocument last document loading
Re: NSDocument last document loading
- Subject: Re: NSDocument last document loading
- From: Markus Spoettl <email@hidden>
- Date: Tue, 03 Jul 2012 06:24:03 +0200
On 7/2/12 7:20 PM, Todd Heberlein wrote:
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.
If you analyze the data as part of document loading and you don't need support
for previous SDKs have a look at
+ (BOOL)canConcurrentlyReadDocumentsOfType:(NSString *)typeName
in NSDocument
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden