ReadonlyattributeThe metadata attribute name by which results in this group are clustered.
ReadonlycountThe number of results contained in this group.
ReadonlyidentifierA unique identifier for this group object (UUID string).
Returns the items contained in this group as an array of HSSpotlightItem objects.
An array of HSSpotlightItem objects
Returns nested subgroups when multiple grouping attributes were specified. Returns an empty array if no subgroups exist for this group.
An array of HSSpotlightGroup objects
The shared value of the grouping attribute for all results in this group.
Returns null only in the unlikely case that the underlying value cannot be bridged.
The attribute value (string, number, Date, etc.) or null
A grouped set of Spotlight results that share a common metadata attribute value. Groups are returned by
HSSpotlightQuery.groups()when grouping attributes have been configured withsetGroupingAttributes(). Do not instantiateHSSpotlightGroupdirectly. When multiple grouping attributes are specified, groups nest: each group hassubgroups()containing the next level of grouping.