When trying to access the constant kUTTypeFlatRTFD
(or any of the text types for that matter) I get the issue that it is an unresolved identifier.
It appears to not be deprecated, and available as part of MobileCoreServices: https://developer.apple.com/reference/mobilecoreservices/kuttypeflatrtfd
Currently, even the simple print(kUTTypeFlatRTFD);
results in this compiler error when placed in a blank view controller of a new iOS project.
Is there a special way to access this in Swift 3+?