- macOS 10.3+
- Core Services
The URL for the document URL object (of type
SKDocument) you are creating. The scheme of the document URL object gets set to the scheme of the URL used. Only URLs with a scheme of “
file” can be used with the
SKIndexfunction, but the URL scheme may be anything you like if you use the
SKIndexfunction. For more information on schemes, see http://www.iana.org/assignments/uri-schemes.html.
Add Document With Text
The new document URL object, or
NULL if the document URL object could not be created.
SKDocument to create a unique reference to a file or to another, arbitrary URL that your application will use as a document URL object (of type
SKDocument). When your application no longer needs the document URL object, dispose of it by calling