Xcode find module for class in Swift Developer Documentation

2 days ago 4
ARTICLE AD BOX

In the Xcode Developer Documentation, the type "FilePath" is listed under

Fundamentals > Foundation > Numbers, Data and Basic Values > URL > FileSystem

However, to use it, I need to import System . The Developer Documentation does not seem to indicate that the class is defined in the System module.
Also, doing "Reveal in Navigator" does not jump to its "main" page, which is in

System > Files > FilePath


It is worse for other items. For example searching for UTType, finds the page at

App Services > TelephonyMessagingKit > TelephonyMessagingSession > RCSService > RCSMessage > RCSMessage.Content > RCSMessage.ComposingIndicator > UTType

But the primary page is actually in

System > Uniform type identifiers > UTType

Also it doesn't say anywhere that for "Uniform type identifiers", you need to import UniformTypeIdentifiers .


Is there any way to find this out using the Xcode developer documentation?

Read Entire Article