Re: What should we do if file-opening takes a long time?
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