One Logo Pool Ball
CoreSpotlight · IOS API REFERENCE

CSUserQuery.Suggestions.Iterator

struct · iOS 16.0+ · SDK 27.1

struct Iterator

Members (1)

method · iOS 16.0+

next

TypeScript
next(): Promise<(CSUserQuery_Suggestion) | null>
Swift declaration
mutating func next() async throws -> CSUserQuery.Suggestions.Element?

Asynchronously advances to the next element and returns it, or ends the sequence if there is no next element. - Returns: The next element, if it exists, or `nil` to signal the end of the sequence.

Skipped declarations

No declarations were skipped in this snapshot.

All CoreSpotlight types →