Document Based Apps - Support all possible UTTypes

How to configure the Imported Type Identifiers of a document based app so that it can open any possible UTType? (i.e. it is a generic tool like a text editor or a hex editor that is supposed to be able to open any file).

Thank you!

The imported type identifier needs to conform to one of the base types. Apple has a list of system-defined UTTypes at the following link:

https://developer.apple.com/documentation/uniformtypeidentifiers/system-declared-uniform-type-identifiers

I'm not sure what UTType would open any file but you could test the following:

  • public.item
  • public.content
  • public.data
  • public.text
Document Based Apps - Support all possible UTTypes
 
 
Q