NSWorkspace has iconForFile:
NSURL has getResourceValue:forKey:error:

Do those not accomplish what you need to do instead?

Sent from my iPhone

> On 1 Nov 2016, at 16:08, Gerriet M. Denkmann <gerri...@icloud.com> wrote:
> 
> I am using ReadIconFromFSRef (not deprecated), which needs an FSRef.
> 
> How to convert a path into an FSRef without deprecation warnings in macOS 12 ?
> 
> Gerriet.
> 
> 
> _______________________________________________
> 
> 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/dangerwillrobinsondanger%40gmail.com
> 
> This email sent to dangerwillrobinsondan...@gmail.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