I'm maintaining a very old Obj-c app using the very useful FSCopyObjectAsync
and FSMoveObjectAsync APIs to make async copy with progress info
(including the throughput)
Now I must drop compatibility with 10.9 and I
would to replace these APIs (consider they are no longer available with
Swift), but Apple deprecated them without a replacement, any hints?
I found the C API copyfile, it doesn't return the throughput and the fixed read buffer size (65k) is ridicolous because copy is very slow compared to FSCopyObjectAsync.
I would avoid to fork copyfile...
Do you know some other more Apple-like API similar to FSCopyObjectAsync?
1
0
782