• 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: Getting mouse clicks when the main loop is busy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Getting mouse clicks when the main loop is busy
      • From: Charles Srstka <email@hidden>
References: 
 >Getting mouse clicks when the main loop is busy (From: Graham Cox <email@hidden>)
 >Re: Getting mouse clicks when the main loop is busy (From: Fritz Anderson <email@hidden>)
 >Re: Getting mouse clicks when the main loop is busy (From: Graham Cox <email@hidden>)
 >Re: Getting mouse clicks when the main loop is busy (From: Kyle Sluder <email@hidden>)
 >Re: Getting mouse clicks when the main loop is busy (From: Charles Srstka <email@hidden>)
 >Re: Getting mouse clicks when the main loop is busy (From: Kyle Sluder <email@hidden>)
 >Re: Getting mouse clicks when the main loop is busy (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: Getting mouse clicks when the main loop is busy
  • Next by Date: Re: Getting mouse clicks when the main loop is busy
  • Previous by thread: Re: Getting mouse clicks when the main loop is busy
  • Next by thread: Re: Getting mouse clicks when the main loop is busy
  • Index(es):
    • Date
    • Thread