- macOS 10.3+
- Core Services
The document URL object that you want a
CFURLRef object representing a document location, or
NULL on failure.
You can use this function to create a
CFURLRef object to represent a document’s location. Do this to gain access to the Core Foundation functionality provided by
CFURLRef. This functionality includes accessing parts of the URL string, getting properties of the URL, and converting the URL to other representations.