Re: FSIsAliasFile deprecated - typeOfFile is slow
Re: FSIsAliasFile deprecated - typeOfFile is slow
- Subject: Re: FSIsAliasFile deprecated - typeOfFile is slow
- From: Leonardo <email@hidden>
- Date: Sat, 28 Nov 2015 16:55:14 +0100
- Thread-topic: FSIsAliasFile deprecated - typeOfFile is slow
Thanks, I will check that.
Regards
-- Leonardo
> Da: Sean McBride <email@hidden>
> Organizzazione: Rogue Research Inc.
> Data: Fri, 27 Nov 2015 17:07:33 -0500
> A: Leonardo <email@hidden>, <email@hidden>
> Oggetto: Re: FSIsAliasFile deprecated - typeOfFile is slow
>
> On Fri, 27 Nov 2015 23:00:16 +0100, Leonardo said:
>
>> 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?
>
> Maybe try NSURL's getResourceValue:forKey:error: with NSURLIsAliasFileKey.
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng email@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
_______________________________________________
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