Instance Property

representedObject

The object represented by the search token.

Declaration

var representedObject: Any? { get set }

Discussion

Use this property to keep information required to restore a search from state restoration, paste a search token, or perform the user’s search.

See Also

Creating a Search Token

init(icon: UIImage?, text: String)

Creates a search token with the specified text and icon (if any).