• 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: What should we do if file-opening takes a long time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What should we do if file-opening takes a long time?


  • Subject: Re: What should we do if file-opening takes a long time?
  • From: Charles Srstka <email@hidden>
  • Date: Sat, 31 Dec 2016 18:10:50 -0600

> On Dec 31, 2016, at 1:06 PM, Jens Alfke <email@hidden> wrote:
>
>> On Dec 31, 2016, at 12:52 AM, Daryle Walker <email@hidden <mailto:email@hidden>> wrote:
>>
>> Let’s assume we’re using a NSDocument-based application.  If we’re opening a big file, like a gigabyte or more, does the system code automatically show a progress bar dialog?  Or does the user look at a whole bunch of nothing (i.e. wondering if the app locked up)?
>
> If I had an app that took a long time to read a document, I’d make the actual reading asynchronous, so the app would be responsive and open the window quickly, even if the window’s content just showed as a progress bar.

What I do is to open the window right away, then open a sheet on it with a progress bar until the loading is finished.

Charles

_______________________________________________

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: 
 >What should we do if file-opening takes a long time? (From: Daryle Walker <email@hidden>)
 >Re: What should we do if file-opening takes a long time? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: What should we do if file-opening takes a long time?
  • Next by Date: Re: What should we do if file-opening takes a long time?
  • Previous by thread: Re: What should we do if file-opening takes a long time?
  • Next by thread: Re: What should we do if file-opening takes a long time?
  • Index(es):
    • Date
    • Thread