diff --git a/src/quicklook.cs b/src/quicklook.cs index 1df0f5bea090..3185a645a92f 100644 --- a/src/quicklook.cs +++ b/src/quicklook.cs @@ -180,7 +180,7 @@ interface QLPreviewItem { interface QLPreviewReply { [Export ("stringEncoding")] - nuint StringEncoding { get; set; } + NSStringEncoding StringEncoding { get; set; } [Export ("attachments", ArgumentSemantic.Copy)] NSDictionary Attachments { get; set; } @@ -204,6 +204,7 @@ interface QLPreviewReply [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] [BaseType (typeof(NSObject))] + [DisableDefaultCtor] interface QLPreviewReplyAttachment { [Export ("data")] @@ -218,6 +219,7 @@ interface QLPreviewReplyAttachment [NoWatch, NoTV, Mac (12,0), iOS (15,0), MacCatalyst (15,0)] [BaseType (typeof(NSObject))] + [DisableDefaultCtor] interface QLFilePreviewRequest { [Export ("fileURL")]