Replacing Form with List worked for me. Thank you for posting!
Post
Replies
Boosts
Views
Activity
Hi, thanks for the reply!
I have been referencing that video (love the cat using an iPad!), but I don't think it covers my use case.
In my actual code, I have been using the failable initializer and falling back to importedAs when it was nil.
Unfortunately, there are a lot of types on NSPasteboard that I need to acknowledge exist (my app is a clipboard inspector), but are invalid (like com.apple.is-remote-clipboard, com.apple.iWork.pasteboardState.applicationName-Pages, com.apple.notes.richtext, etc..).
That said, I may need to create a separate type that is backed by UTType info if available, with default values otherwise 🤔