Re: How to get an undeprecated FSRef
Re: How to get an undeprecated FSRef
- Subject: Re: How to get an undeprecated FSRef
- From: Ken Thomases <email@hidden>
- Date: Tue, 01 Nov 2016 02:44:52 -0500
On Nov 1, 2016, at 2:08 AM, Gerriet M. Denkmann <email@hidden> 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 ?
I doubt you'll find anything. You should switch to using NSImage and -initWithContentsOfURL: (or -initWithContentsOfFile:).
Regards,
Ken
_______________________________________________
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