libraryDidFinishIndexingDocument

Called after the library indexes a document.

Implement this method on your data source instead of listening for indexing events directly. If the given document is the last one to be indexed, the library calls any completion handlers. This method gives your data source a chance to finish any bookkeeping so as to ensure that its state is up to date when completion handlers are called.

Parameters

uid

The UID of the document that finished indexing.

success

Specifies whether the library successfully indexed the document.