One Logo Pool Ball
UIKit · IOS API REFERENCE

UISearchToken

class · iOS 13.0+ · SDK 27.1

@MainActor class UISearchToken

Members (3)

init · iOS 13.0+

init

TypeScript
static init(icon: (UIImage) | null, text: string): Promise<UISearchToken>
Swift declaration
init(icon: UIImage?, text: String)
get · iOS 13.0+

representedObject

TypeScript
get representedObject(): Promise<(unknown) | null>
Swift declaration
var representedObject: Any? { get set }
set · iOS 13.0+

representedObject

TypeScript
setRepresentedObject(value?: (unknown) | null): Promise<void>
Swift declaration
var representedObject: Any? { get set }

Skipped declarations

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

UISearchToken.init()

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

All UIKit types →