• 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: Dismissing Open dlog before doc actually opens
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dismissing Open dlog before doc actually opens


  • Subject: Re: Dismissing Open dlog before doc actually opens
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 12 Aug 2013 19:42:10 -0700

On Aug 12, 2013, at 4:27 PM, "Mills, Steve" <email@hidden> wrote:

> I haven't been able to find any info about this, but I might be searching for the wrong thing. How can we get rid of the Open dlog so it doesn't hang around while the document is being read? It's an incredibly annoying design.

Are you using NSDocument? If so, return YES from +canConcurrentlyReadDocumentsOfType: to let NSDocumentController know it can initialize your document in the background. Then it will call -makeWindowControllers on the main thread.

If you're running the NSOpenPanel yourself, just fire off your background work from its completion handler.

--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: Dismissing Open dlog before doc actually opens
      • From: Steve Mills <email@hidden>
References: 
 >Dismissing Open dlog before doc actually opens (From: "Mills, Steve" <email@hidden>)

  • Prev by Date: Re: Dismissing Open dlog before doc actually opens
  • Next by Date: Re: Dismissing Open dlog before doc actually opens
  • Previous by thread: Re: Dismissing Open dlog before doc actually opens
  • Next by thread: Re: Dismissing Open dlog before doc actually opens
  • Index(es):
    • Date
    • Thread