Token fields | Apple Developer Documentation

**A token field is a type of text field that can convert text into

tokens that are easy to select and manipulate.**

토큰 필드는 쉽게 선택하고 조작할 수 있는 토큰으로 변환할 수 있는 일종의 텍스트 필드이다.

Untitled

For example, Mail uses token fields for the address fields in the compose window. As people enter recipients, Mail converts the text that represents each recipient’s name into a token. People can select these recipient tokens and drag to reorder them or move them into a different field.

예를 들어, Mail은 작성 창의 주소 필드에 토큰 필드를 사용한다. 사람들이 받는 사람을 입력하면, Mail은 각 받는 사람의 이름을 나타내는 텍스트를 토큰으로 변환한다. 사람들은 이러한 받는 사람 토큰을 선택하고 드래그하여 재정렬하거나 다른 필드로 이동할 수 있다.

You can configure a token field to present people with a list of suggestions as they enter text into the field. For example, Mail suggests recipients as people type in an address field. When people select a suggested recipient, Mail inserts the recipient into the field as a token.

사람들이 필드에 텍스트를 입력할 때 제언 목록을 제공하도록 토큰 필드를 구성할 수 있다. 예를 들어, Mail은 사람들이 주소 필드에 입력할 때 받는 사람을 제안한다. 사람들이 제안된 받는 사람을 선택하면, 메일은 받는 사람을 필드에 토큰으로 삽입한다.

Untitled

An individual token can also include a contextual menu that offers information about the token or editing options. For example, a recipient token in Mail includes a contextual menu with commands for editing the recipient name, marking the recipient as a VIP, and viewing the recipient’s contact card, among others.

개별 토큰에는 토큰 또는 편집 옵션에 대한 정보를 제공하는 컨텍스트 메뉴가 포함될 수 있다. 예를 들어, Mail 안에 받는 사람 토큰은 받는 사람명, VIP로 마킹, 받는 사람의 연락처 카드 보기 등을 편집할 수 있는 명령이 있는 컨텍스트 메뉴를 포함한다

Untitled

Tokens can also represent search terms in some situations; for guidance, see Search fields.