One Logo Pool Ball
CoreSpotlight · IOS API REFERENCE

CSSearchableItem

class · iOS 9.0+ · SDK 27.1

class CSSearchableItem

Members (14)

method · iOS 16.0+

compare

TypeScript
compare(other: CSSearchableItem): _Foundation_ComparisonResult
Swift declaration
func compare(byRank other: CSSearchableItem) -> ComparisonResult
init · iOS 9.0+

init

TypeScript
static init(uniqueIdentifier: (string) | null, domainIdentifier: (string) | null, attributeSet: CSSearchableItemAttributeSet): CSSearchableItem
Swift declaration
init(uniqueIdentifier: String?, domainIdentifier: String?, attributeSet: CSSearchableItemAttributeSet)
get · iOS 9.0+

attributeSet

TypeScript
get attributeSet(): CSSearchableItemAttributeSet
Swift declaration
var attributeSet: CSSearchableItemAttributeSet { get set }
set · iOS 9.0+

attributeSet

TypeScript
set attributeSet(value: CSSearchableItemAttributeSet)
Swift declaration
var attributeSet: CSSearchableItemAttributeSet { get set }
get · iOS 9.0+

domainIdentifier

TypeScript
get domainIdentifier(): (string) | null
Swift declaration
var domainIdentifier: String? { get set }
set · iOS 9.0+

domainIdentifier

TypeScript
set domainIdentifier(value: (string) | null)
Swift declaration
var domainIdentifier: String? { get set }
get · iOS 9.0+

expirationDate

TypeScript
get expirationDate(): (globalThis.Date) | null
Swift declaration
var expirationDate: Date! { get set }
set · iOS 9.0+

expirationDate

TypeScript
set expirationDate(value: (globalThis.Date) | null)
Swift declaration
var expirationDate: Date! { get set }
get · iOS 9.0+

isUpdate

TypeScript
get isUpdate(): boolean
Swift declaration
var isUpdate: Bool { get set }
set · iOS 9.0+

isUpdate

TypeScript
set isUpdate(value: boolean)
Swift declaration
var isUpdate: Bool { get set }
get · iOS 9.0+

uniqueIdentifier

TypeScript
get uniqueIdentifier(): string
Swift declaration
var uniqueIdentifier: String { get set }
set · iOS 9.0+

uniqueIdentifier

TypeScript
set uniqueIdentifier(value: string)
Swift declaration
var uniqueIdentifier: String { get set }
get · iOS 18.4+

updateListenerOptions

TypeScript
get updateListenerOptions(): CSSearchableItem_UpdateListenerOptions
Swift declaration
var updateListenerOptions: CSSearchableItem.UpdateListenerOptions { get set }
set · iOS 18.4+

updateListenerOptions

TypeScript
set updateListenerOptions(value: CSSearchableItem_UpdateListenerOptions)
Swift declaration
var updateListenerOptions: CSSearchableItem.UpdateListenerOptions { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CSSearchableItem.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All CoreSpotlight types →