macOS Segmented Control
macOS Segmented Control
Un macOS Segmented Control è una breve riga di opzioni unite. Cambia una vista, un filtro o una modalità strettamente legata.
Un altro esempio
Un browser in stile Finder usa i segmenti della barra degli strumenti per le viste icona, elenco, colonna e galleria.
Parti principali
- 01Etichetta visibile
- 02Interaction target
- 03Current state
- 04Keyboard behavior
Usalo quando
Usalo per pochi modi o filtri uguali con etichette brevi. Ogni scelta dovrebbe cambiare rapidamente lo stesso contenuto vicino.
Non usarlo quando
Evita etichette lunghe o su più righe, troppe scelte e destinazioni non correlate. Non nascondere un effetto finché non c'è una conferma separata.
Nome usato nel codice
NSSegmentedControl / SwiftUI Picker with segmented style 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.
Outcome: Complete the task with macOS Segmented Control (macOS Segmented Control). User context: Un browser in stile Finder usa i segmenti della barra degli strumenti per le viste icona, elenco, colonna e galleria. macOS concept or control: macOS Segmented Control (macOS Segmented Control). Why it fits: Usalo per pochi modi o filtri uguali con etichette brevi. Ogni scelta dovrebbe cambiare rapidamente lo stesso contenuto vicino. Do not use it when: Evita etichette lunghe o su più righe, troppe scelte e destinazioni non correlate. Non nascondere un effetto finché non c'è una conferma separata. 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 macOS Segmented Control (macOS Segmented Control) is used now. Definition: Un macOS Segmented Control è una breve riga di opzioni unite. Cambia una vista, un filtro o una modalità strettamente legata. 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.