NSURLIsAliasFileKey returns YES even in case of SymLinks.
And I need to return YES only in case of Aliases.

Regards
-- Leonardo


> Da: Charles Srstka <[email protected]>
> Data: Sat, 28 Nov 2015 10:51:05 -0600
> A: Leonardo <[email protected]>
> Cc: "Gary L. Wade" <[email protected]>, <[email protected]>
> Oggetto: Re: FSIsAliasFile deprecated - typeOfFile is slow
> 
>> On Nov 28, 2015, at 9:59 AM, Leonardo <[email protected]> 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 protected])

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 [email protected]

Reply via email to