SKDocumentCopyURL(_:)
Builds a Cfurl object from a document URL object (of type Skdocument).
Declaration
func SKDocumentCopyURL(_ inDocument: SKDocument!) -> Unmanaged<CFURL>!Parameters
- inDocument:
The document URL object that you want a Cfurl object for.
Return Value
A CFURL object representing a document location, or NULL on failure.
Discussion
You can use this function to create a CFURL object to represent a document’s location. Do this to gain access to the Core Foundation functionality provided by CFURL. This functionality includes accessing parts of the URL string, getting properties of the URL, and converting the URL to other representations.
See Also
Working with Documents and Terms
SKDocumentCreateWithURL(_:)SKDocumentCreate(_:_:_:)SKDocumentGetName(_:)SKDocumentGetParent(_:)SKDocumentGetSchemeName(_:)SKDocumentGetTypeID()SKIndexCopyDocumentForDocumentID(_:_:)SKIndexCopyInfoForDocumentIDs(_:_:_:_:_:)SKIndexCopyDocumentRefsForDocumentIDs(_:_:_:_:)SKIndexCopyDocumentURLsForDocumentIDs(_:_:_:_:)SKIndexCopyDocumentIDArrayForTermID(_:_:)SKIndexCopyTermIDArrayForDocumentID(_:_:)SKIndexCopyTermStringForTermID(_:_:)SKIndexGetTermIDForTermString(_:_:)SKIndexSetDocumentProperties(_:_:_:)SKIndexCopyDocumentProperties(_:_:)SKIndexGetDocumentState(_:_:)SKIndexGetDocumentTermCount(_:_:)SKIndexGetDocumentTermFrequency(_:_:_:)SKIndexGetTermDocumentCount(_:_:)SKIndexGetDocumentID(_:_:)