Defines an opaque data type representing a document’s URL.
- macOS 10.3+
- Mac Catalyst 13.0+
- Core Services
A document URL object is a generic location specification for a document. It is built from a document scheme, a parent document, and a document name. You can convert back and forth between document URL objects and
CFURL objects using Search Kit’s
To create a Search Kit document URL object, use
SKDocument when you can provide a complete URL, or use
SKDocument when you want to specify document location indirectly using a parent document URL object. For other operations on documents, see Working with Documents and Terms.
If you create document URL objects with indirect locations using the
SKDocument function, you can resolve the locations by assembling them piece by piece, starting with a document URL object and going up step by step, parent to parent.