Interfaccia macOS Più dettagli B · Guida ufficiale Piattaforma: macOS

Token Field

Token Field

Un Token Field trasforma ogni valore noto in un elemento separato che può essere rimosso. Le persone possono continuare a digitare per aggiungere altri valori.

Prova un esempio
Potresti chiamarlo Token Fieldcampo tokenizzatorecipient fieldNSTokenField

Prova un esempio

Un esempio vero

Un campo email trasforma ogni indirizzo valido in un token. Segna un indirizzo non valido prima di inviarlo.

Parti principali

  1. 01Etichetta persistente
  2. 02Input control
  3. 03Hint or format
  4. 04Validation message

Usalo quando

Usalo per diversi valori strutturati che l'app può trovare, controllare, compilare, selezionare e rimuovere uno per uno.

Non usarlo quando

Non trasformare scrittura libera o un valore singolo in token. Ogni elemento necessita di un'etichetta chiara e spazio per eventuali messaggi di errore.

Nome usato nel codice

AppKit NSTokenField

Prima di spedire

Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion.

Puoi copiare la richiesta

Outcome: Complete the task with Token Field (Token Field). User context: Un campo email trasforma ogni indirizzo valido in un token. Segna un indirizzo non valido prima di inviarlo. macOS concept or control: Token Field (Token Field). Why it fits: Usalo per diversi valori strutturati che l'app può trovare, controllare, compilare, selezionare e rimuovere uno per uno. Do not use it when: Non trasformare scrittura libera o un valore singolo in token. Ogni elemento necessita di un'etichetta chiara e spazio per eventuali messaggi di errore. Platform requirements: List the supported macOS versions. Say whether AppKit or SwiftUI owns each part and how they connect. Define window, menu, focus, keyboard, saved state, restore, and multi-window behavior. Platform accessibility and resilience: Use the right accessibility APIs. Check VoiceOver and Full Keyboard Access. Support localization, contrast, and reduced motion when needed. Keep user state after a relaunch. Acceptance criteria: Check the behavior on supported macOS versions with a keyboard and VoiceOver. Window resizing, focus, state restore, and AppKit or SwiftUI integration work in the normal macOS way. Evidence and limits (evidence boundary): È ufficiale per quella fonte. Altre piattaforme o team potrebbero usare il termine in modo diverso. Unknowns to confirm: Supported macOS versions, AppKit or SwiftUI structure, and window model. Also confirm sandbox and entitlement limits, save rules, and the accessibility goal.

Controlla questa richiesta

Review how Token Field (Token Field) is used now. Definition: Un Token Field trasforma ogni valore noto in un elemento separato che può essere rimosso. Le persone possono continuare a digitare per aggiungere altri valori. Release checks: Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.

B
Quanto è ufficiale questo termine?

Guida ufficiale

La piattaforma, il framework, il progetto o il gruppo di esperti nominato ha una guida ufficiale per questo termine.

È ufficiale per quella fonte. Altre piattaforme o team potrebbero usare il termine in modo diverso.

Ambito
Solo ciò che la sorgente copre:nome canonico、definizione、API della piattaforma、implementazione、guida all'uso
stato del documento
stabile
Selezionato attivato
2026-07-30

Fonti e ambito delle prove

Fonte dell'autorità · Apple · stabile NSTokenField Ambito: nome canonico、definizione、API della piattaforma、implementazione、guida all'uso Ruolo qui: Autorità entro i limiti dichiarati La fonte copre: nome canonico, definizione, API della piattaforma, implementazione, guida all'uso Fonte dello sfondo Apple Human Interface Guidelines — Designing for macOS Ruolo qui: Contesto utile, non una definizione

Copia tu stesso

Il browser non è riuscito a copiare questo. Seleziona la richiesta qui sotto e copiala tu stesso.