-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello,
thanks for the idea, I have several raster + vector picts, they are not anymore usable or convertible, so I would like very much to handle them with QuickDrawViewer. By now I run MacOS 13, I tried compiling your code, but Xcode spits two errors (only two!) about suggestedFileName that is not available before MacOS 14.
This is a snippet of undigested code:
/// Make it possible to transfer pictures into the clipboard, drag-and-drop.
extension QDPicture : Transferable {
public static var transferRepresentation: some TransferRepresentation {
DataRepresentation(exportedContentType: .pdf) {
picture in picture.pdfData() as Data }.suggestedFileName { MakePdfFilename(picture: $0) }
}
}Can you suggest an alternative for it?
Metadata
Metadata
Assignees
Labels
No labels