SKSummaryGetTypeID()
Gets the type identifier for Search Kit summarization objects.
Declaration
func SKSummaryGetTypeID() -> CFTypeIDReturn 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
SKSummaryCreateWithString(_:)SKSummaryGetSentenceSummaryInfo(_:_:_:_:_:)SKSummaryGetParagraphSummaryInfo(_:_:_:_:)SKSummaryGetSentenceCount(_:)SKSummaryGetParagraphCount(_:)SKSummaryCopySentenceAtIndex(_:_:)SKSummaryCopyParagraphAtIndex(_:_:)SKSummaryCopySentenceSummaryString(_:_:)SKSummaryCopyParagraphSummaryString(_:_:)