Re: FSIsAliasFile deprecated - typeOfFile is slow
Re: FSIsAliasFile deprecated - typeOfFile is slow
- Subject: Re: FSIsAliasFile deprecated - typeOfFile is slow
- From: Charles Srstka <email@hidden>
- Date: Sat, 28 Nov 2015 10:51:05 -0600
> On Nov 28, 2015, at 9:59 AM, Leonardo <email@hidden> wrote:
>
> Hi Gary,
> Thank you for your low level fine solution. Anyway, I'm afraid that Apple
> changes the alias-rule and this method will not work longer. Do you have a
> solution at a upper level? Or may I be 100% sure that Apple will never
> change this rule?
>
> Regards
> — Leonardo
The safe, upper-level method is to use -[NSURL getResourceValue:forKey:error:] with NSURLIsAliasFileKey.
Charles
_______________________________________________
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