• 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: Conrad Shultz <email@hidden>
  • Date: Mon, 02 Jul 2012 14:16:00 -0700

Also, avoid doing any lengthy operation on the main thread/queue.

Even if a user opens a file with the intent to analyze, getting stuck for ten minutes is a suboptimal experience.

(Sent from my iPhone.)

--
Conrad Shultz

On Jul 2, 2012, at 12:52, Lee Ann Rucker <email@hidden> wrote:

> Subclass [NSWindow restorationClass] and return nil should work.
>
> ----- Original Message -----
> From: "Todd Heberlein" <email@hidden>
> To: email@hidden
> 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 (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
> _______________________________________________
>
> 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

_______________________________________________

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: 
 >Re: NSDocument last document loading (From: Lee Ann Rucker <email@hidden>)

  • Prev by Date: Re: NSDocument last document loading
  • Next by Date: Re: Adding Properties to NKIssue?
  • Previous by thread: Re: NSDocument last document loading
  • Next by thread: Re: NSDocument last document loading
  • Index(es):
    • Date
    • Thread