Showing File Copy Status on a Progress Bar
I am trying to perform a low-level file copy but also display my progress using a determinate progress bar. Is there any way I can do this? I have looked on many mail archives, and one blog post explaining on how t开发者_如何转开发o do it in carbon which didn't work for me.
There's a nice article about this on the Cocoa Is My Girlfriend blog titled "Cocoa Tutorial: File Copy With Progress Indicator". It's pretty straightforward, as the article says, but not obvious or well-documented.
Check this project out, I created it to help people that are struggling with this issue as I once did. Is not perfect but is a start, you can build on top of it.
https://github.com/larod/FileCopyDemo
精彩评论