Contents

SKIndexCopyDocumentForDocumentID(_:_:)

Obtains a document URL object (of type Skdocument) from an index.

Declaration

func SKIndexCopyDocumentForDocumentID(_ inIndex: SKIndex!, _ inDocumentID: SKDocumentID) -> Unmanaged<SKDocument>!

Parameters

  • inIndex:

    The index containing the document URL object.

  • inDocumentID:

    The ID of the document URL object you want to copy.

Return Value

A Search Kit document URL object.

Discussion

In versions of macOS prior to OS X v10.4, the parameter type for inDocumentID was CFIndex. The parameter type in macOS 10.4 and later is SKDocumentID.

See Also

Working with Documents and Terms