Re: Deleting files extremely slow since OSX High sierra

2018-04-27 Thread Andreas Falkenhahn
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:.

Re: Deleting files extremely slow since OSX High sierra

2018-04-27 Thread MeldaProduction
Unfortunately unicode could be quite a problem with that I think. Cheers! Vojtech www.meldaproduction.com Facebook , Twitter , Youtube 2018-04-27 15:01 GMT+02:00 Andreas Fal

Re: Deleting files extremely slow since OSX High sierra

2018-04-27 Thread Andreas Falkenhahn
On 27.04.2018 at 15:23 MeldaProduction wrote: > Unfortunately unicode could be quite a problem with that I think. No big deal... just have Cocoa convert your string to precomposed or decomposed UTF-8. Both should work just fine with everything POSIX. Just keep in mind that when you obtain file sy

Re: Deleting files extremely slow since OSX High sierra

2018-04-27 Thread Jens Alfke
> On Apr 27, 2018, at 6:29 AM, Andreas Falkenhahn > wrote: > > No big deal... just have Cocoa convert your string to precomposed > or decomposed UTF-8. Just use NSString.fileSystemRepresentation, and -[NSString initWithFileSystemRepresentation:] to go the other way. They are guaranteed to d

Re: Deleting files extremely slow since OSX High sierra

2018-04-27 Thread MeldaProduction
Interesting! Cheers! Vojtech www.meldaproduction.com Facebook , Twitter , Youtube 2018-04-27 19:34 GMT+02:00 Jens Alfke : > > > On Apr 27, 2018, at 6:29 AM, Andreas Falkenh