NSPasteboardReading and Swift Decoding

What would be the suggested way to implement NSPasteboardReading in Swift, when one is also using Swift decoding?

A pasteboard readable object is instantiated with

convenience init ?(pasteboardPropertyList propertyList: Any , ofType type: NSPasteboard.PasteboardType)

The property list contains the encoded object data. I can create a PropertyListDecoder for this data, but I cannot delegate initialisation to

required init (from decoder: Decoder) throws

because PropertyListDecoder is not of type Decoder.

I can decode another object using the PropertyListDecoder, but then I cannot reassign this object to self in Swift.

So I am kind of stuck here.
NSPasteboardReading and Swift Decoding
 
 
Q