Re: Deleting files extremely slow since OSX High sierra
Re: Deleting files extremely slow since OSX High sierra
- Subject: Re: Deleting files extremely slow since OSX High sierra
- From: Andreas Falkenhahn <email@hidden>
- Date: Fri, 27 Apr 2018 15:01:08 +0200
On 25.04.2018 at 21:58 Sean McBride wrote:
> On Mon, 23 Apr 2018 07:36:26 -0400, Mike Throckmorton said:
>>Try replacing FSDeleteObject with [[NSFileManager defaultManager]
>>removeItemAtPath: pth error: &erro];
> Don't do that, it's sorta-deprecated too. :) You want
> removeItemAtURL:error:.
Good times. So what can we learn from that? Avoid Apple APIs at all costs
if there is a POSIX equivalent: remove() is your best friend :)
--
Best regards,
Andreas Falkenhahn mailto:email@hidden
_______________________________________________
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