Re: Not accepting click on Button
Re: Not accepting click on Button
- Subject: Re: Not accepting click on Button
- From: Dave DeLong <email@hidden>
- Date: Mon, 24 Aug 2009 06:20:31 -0700
Your copy method seems to be blocking the main thread. If you split it
off onto its own thread, it should do what you're looking for. You
mayhave to take other things into account, such as resource locking,
but such is the world of threaded programming.
Dave
Sent from my iPod
On Aug 24, 2009, at 6:14 AM, Nikhil Khandelwal <email@hidden
> wrote:
Hi List,
In my application, I am running a process for copying files from one
location to another. In this I select number of files from panel and
then showing a progress bar which shows progress of copying. In this
window I have a cancel button to cancel the copying process but
clicking on the cancel button does not call the IBAction until the
whole process of copying the file completes.
Any one faced same problem ?
Thanks,
Nikhil
_______________________________________________
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