I've created a library that defines an encoded reference type, and was in the process of adding Transferrable conformance to the main class that represents the data. Doing so wants a type defined for the transferrable, so I'm adding a type for this data representation into the library.
The extension on UniformTypeIdentifiers is trivial, but I'd like to also mark that the type itself conforms to public.data
(UTType.data
). Since this is in a swift package, there isn't an application-relevant Info.plist that would normally hold these additional details.
Can I add the conformance through the library? Or is the whole aspect of Transferrable and associated UTTypes expected to be something only defined at the application level?