Type Alias

SKDocumentID

Defines an opaque data type representing a lightweight document identifier.

Declaration

typealias SKDocumentID = CFIndex

Discussion

Use document IDs rather than document URL objects (SKDocumentRefs) whenever possible. Using document IDs results in faster searching.

You can work with document IDs using a variety of Search Kit functions. See SKIndexGetMaximumDocumentID(_:), SKIndexCopyDocumentForDocumentID(_:_:), SKIndexCopyInfoForDocumentIDs(_:_:_:_:_:), SKIndexCopyDocumentRefsForDocumentIDs(_:_:_:_:), SKIndexCopyDocumentURLsForDocumentIDs(_:_:_:_:), SKIndexCopyDocumentIDArrayForTermID(_:_:), and SKIndexCopyTermIDArrayForDocumentID(_:_:).

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software