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:andr...@falkenhahn.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to