• 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: showing load progress for autosaved documents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: showing load progress for autosaved documents


  • Subject: Re: showing load progress for autosaved documents
  • From: Graham Cox <email@hidden>
  • Date: Thu, 24 Apr 2014 10:20:22 +1000

On 24 Apr 2014, at 10:06 am, edward taffel <email@hidden> wrote:

> at present, i’m finding it difficult to find a point, prior to NSDocument initializing autosaved documents, to show a progress window. everything above readFromURL is off the main thread & there is nothing in the application delegate protocol that precedes—so far as i’m aware. any thoughts here?
>


Design your progress stuff so that it can be initiated from any thread. It's not a big problem - I use -performSelectorOnMainThread: etc. Then you can insert code to establish progress anywhere that's convenient - usually at the start of the work itself.

--Graham



_______________________________________________

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: showing load progress for autosaved documents
      • From: edward taffel <email@hidden>
References: 
 >showing load progress for autosaved documents (From: edward m taffel <email@hidden>)
 >Re: showing load progress for autosaved documents (From: Graham Cox <email@hidden>)
 >Re: showing load progress for autosaved documents (From: edward taffel <email@hidden>)

  • Prev by Date: Re: showing load progress for autosaved documents
  • Next by Date: Re: NSToolbarItem view set to NSButton view, but not showing...
  • Previous by thread: Re: showing load progress for autosaved documents
  • Next by thread: Re: showing load progress for autosaved documents
  • Index(es):
    • Date
    • Thread