Re: Getting mouse clicks when the main loop is busy
Re: Getting mouse clicks when the main loop is busy
- Subject: Re: Getting mouse clicks when the main loop is busy
- From: Kyle Sluder <email@hidden>
- Date: Mon, 11 Nov 2013 10:09:36 -0800
> On Nov 10, 2013, at 3:57 PM, Charles Srstka <email@hidden> wrote:
>
> My app reads complex files that may take up to two minutes to completely load. Beachballing while waiting for it is really not an option.
I’m not suggesting you should beachball. I’m suggesting you adopt +canConcurrentlyReadFilesOfType: and let NSDocument take care of the backgrounding for you.
>
> Fortunately I don't bother with the autosave stuff (or with saving at all, actually; the app is a viewer only).
File coordination and file-access blocks are orthogonal to Lion Autosave.
(Inset standard doomsday warning that Lion Autosave will not always be optional, and your users will consider your app broken if your app does not reflect changes made simultaneously to the document by another application.)
--Kyle Sluder
_______________________________________________
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