• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSDocument last document loading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSDocument last document loading (From: Todd Heberlein <email@hidden>)

  • Prev by Date: Re: NSDocument last document loading
  • Next by Date: Re: Allow FileUpload in iOS 4 or 5
  • Previous by thread: Re: NSDocument last document loading
  • Next by thread: Adding Properties to NKIssue?
  • Index(es):
    • Date
    • Thread