macOS Segmented Control
macOS Segmented Control
Un macOS Segmented Control es una fila corta de opciones unidas. Cambia una vista, un filtro o un modo muy relacionado.
Otro ejemplo
Un explorador estilo Finder usa segmentos en la barra de herramientas para las vistas de iconos, lista, columna y galería.
Partes principales
- 01Etiqueta visible
- 02Interaction target
- 03Current state
- 04Keyboard behavior
Úsalo cuando
Úselo para unos pocos modos o filtros iguales con etiquetas cortas. Cada elección debe cambiar rápidamente el mismo contenido cercano.
No lo uses cuando
Evita etiquetas largas o que se partan en dos líneas, demasiadas opciones y destinos que no tienen que ver. No ocultes un efecto hasta después de una confirmación por separado.
Nombre usado en código
NSSegmentedControl / SwiftUI Picker with segmented style Antes de lanzarlo
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 explorador estilo Finder usa segmentos en la barra de herramientas para las vistas de iconos, lista, columna y galería. macOS concept or control: macOS Segmented Control (macOS Segmented Control). Why it fits: Úselo para unos pocos modos o filtros iguales con etiquetas cortas. Cada elección debe cambiar rápidamente el mismo contenido cercano. Do not use it when: Evita etiquetas largas o que se partan en dos líneas, demasiadas opciones y destinos que no tienen que ver. No ocultes un efecto hasta después de una confirmación por separado. 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): Es oficial para esa fuente. Otras plataformas o equipos pueden usar el término de otra manera. 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.
Revisa esta petición
Review how macOS Segmented Control (macOS Segmented Control) is used now. Definition: Un macOS Segmented Control es una fila corta de opciones unidas. Cambia una vista, un filtro o un modo muy relacionado. 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.