Re: FSIsAliasFile deprecated - typeOfFile is slow
Re: FSIsAliasFile deprecated - typeOfFile is slow
- Subject: Re: FSIsAliasFile deprecated - typeOfFile is slow
- From: Quincey Morris <email@hidden>
- Date: Fri, 27 Nov 2015 14:07:52 -0800
- Feedback-id: 167118m:167118agrif8a:167118sGQrndmkgU:SMTPCORP
On Nov 27, 2015, at 14:00 , Leonardo <email@hidden> wrote:
>
> The problem is that the IsAliasNew method is 3.7 times slower than the
> IsAliasOld method. Do you know a way to accomplish that with a faster
> method?
It may not be faster but it’s probably more correct to use [NSURL getResourceValue:forKey:error:] or [NSURL resourceValuesForKeys:error:] with the resource key NSURLIsAliasFileKey.
_______________________________________________
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