• 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
Open-file progress dialog with cancel button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Open-file progress dialog with cancel button


  • Subject: Open-file progress dialog with cancel button
  • From: Daryle Walker <email@hidden>
  • Date: Fri, 10 Jun 2016 12:03:35 -0400

I don't need this (yet), but it popped up in my head. Usually, readFromData: ofType: processes the data in place.  But what if the process take a while, or you otherwise want to provide a progress window (maybe with a cancel button)? I guess you could handle the parsing in an NSOperation, but how do you establish the window and make sure readFromData for that instance doesn't deadlock the rest of the program?

Sent from my iPhone
_______________________________________________

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: Open-file progress dialog with cancel button
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: How to get Window Info Dict for just one Window?
  • Next by Date: Re: Open-file progress dialog with cancel button
  • Previous by thread: Re: Sidebar outline view, rowSizeStyle, and bold text
  • Next by thread: Re: Open-file progress dialog with cancel button
  • Index(es):
    • Date
    • Thread