开发者

Showing File Copy Status on a Progress Bar

开发者 https://www.devze.com 2022-12-17 22:49 出处:网络
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 expla

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

Showing File Copy Status on a Progress Bar

0

精彩评论

暂无评论...
验证码 换一张
取 消