One Logo Pool Ball
_CoreSpotlight_FoundationModels · IOS API REFERENCE

SearchCount

struct · iOS 27.0+ · SDK 27.1

struct SearchCount

A scalar count result (e.g., "47 emails from John").

Members (3)

init · iOS 27.0+

init

TypeScript
static init(value: number, header?: (string) | null): SearchCount
Swift declaration
init(value: Int, header: String? = nil)
get · iOS 27.0+

value

TypeScript
get value(): number
Swift declaration
let value: Int

The count value.

get · iOS 27.0+

header

TypeScript
get header(): (string) | null
Swift declaration
let header: String?

A short description of what was counted (e.g., "Emails from John since 2003").

Skipped declarations

No declarations were skipped in this snapshot.

All _CoreSpotlight_FoundationModels types →