SKSearchGroupGetTypeID
Deprecated. Use asynchronous searching with SKSearchCreate instead, which does not employ search groups.
Declaration
CFTypeID SKSearchGroupGetTypeID(void);Return Value
A CFTypeID object containing the type identifier for the SKSearchGroup opaque type.
Discussion
Gets the type identifier for Search Kit search groups.
Search Kit represents search groups with the SKSearchGroupRef opaque type. If your code needs to determine whether a particular data type is a search group, you can use this function along with the CFGetTypeID(_:) function and perform a comparison.
Never hard-code the search group type ID because it can change from one release of macOS to another.