Contents

SKSummaryGetTypeID()

Gets the type identifier for Search Kit summarization objects.

Declaration

func SKSummaryGetTypeID() -> CFTypeID

Return Value

A CFTypeID object, or NULL on failure.

Discussion

Search Kit represents summarization results with summarization objects (SKSummary opaque types). If your code needs to determine whether a particular data type is a summary, you can use this function along with the CFGetTypeID(_:) function and perform a comparison.

Never hard-code the summarization type ID because it can change from one release of macOS to another.

See Also

Working With Summarization