A view for displaying and editing text and search tokens.
- iOS 13.0+
- Mac Catalyst 13.0+
Use a search text field to display search criteria represented as text and tokens, and allow the user to edit that criteria. Tokens are discrete representations of nontextual content that your app can create and use to represent filters that limit the search results. Tokens always occur contiguously before any text in the search field.
Tokens can be programatically selected by including their position in a range assigned to the