xamarin / mac-samples

Sample programs showing how to use Xamarin.Mac on OSX.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MacCopyPast Error : must implement new interface

Gespix opened this issue · comments

Hello,

I had an error with the MacCopyPast project : the interface NSSecureCoding must be implemented on ImageInfo for Copy/Past operations.

You juste have to :

  • Add INSSecureCoding to the class declaration
  • Add this property
    [Export("supportsSecureCoding")] public static bool SupportsSecureCoding => true;
    Et voilà ;-)

Thanks for reporting, @Gespix. I put together a PR with your suggested change, so we'll get that reviewed and merged. Appreciate the help with the fix!