How to display file copy progress in 10.8

后端 未结 4 1224
心在旅途
心在旅途 2021-01-07 11:58

FSCopyObjectAsync is Deprecated in OS X v10.8, Now how to display progress indictor for file copy operation.

4条回答
  •  南笙
    南笙 (楼主)
    2021-01-07 12:31

    My answer assumes you're talking about showing the progress of a single file being copied.

    Yes, "FSCopyObjectAsync" been deprecated but it's not gone yet.

    And as you have discovered, Apple has not yet provided a useful replacement for the functionality that will eventually be removed. I suspect (but do not know for certain) that when the new functionality comes in, perhaps for 10.9, it will be delivered in the "NSFileManagerDelegate" protocol for delegates to make use of.

    To make certain of that, Apple needs to be aware there are lots of developers need this. File a bug report at http://bugreporter.apple.com -- it'll likely be closed as a duplicate, but every vote counts.

提交回复
热议问题