Open-file progress dialog with cancel button
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