• 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: "You can create a window on a secondary thread."
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "You can create a window on a secondary thread."


  • Subject: Re: "You can create a window on a secondary thread."
  • From: "Pontus Ilbring" <email@hidden>
  • Date: Tue, 6 Mar 2007 21:16:36 +0100

On 3/6/07, Jerry Krinock <email@hidden> wrote:
My app downloads data from a server, which can take a long time or fail, so
I want a custom Progress Dialog (progress bar, some text and a "Cancel"
button).

There is ample documentation and disussion explaining how to run such a long
task in a secondary thread.  But in my case the app cannot continue until
the downloaded data is processed; I therefore ^do^ want the app to block
during the download, except that my "Cancel" button must be responsive.

Have you considered using a modal session, or a modal window?

See How Modal Windows Work in
http://developer.apple.com/documentation/Cocoa/Conceptual/WinPanel/index.html
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: "You can create a window on a secondary thread."
      • From: Jerry Krinock <email@hidden>
References: 
 >"You can create a window on a secondary thread." (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: "You can create a window on a secondary thread."
  • Next by Date: Re: "You can create a window on a secondary thread."
  • Previous by thread: Re: "You can create a window on a secondary thread."
  • Next by thread: Re: "You can create a window on a secondary thread."
  • Index(es):
    • Date
    • Thread