macOS Stepper
macOS Stepper
Un macOS Stepper tiene un botón para sumar y otro para restar. Cambia un valor entre los límites establecidos por un paso fijo.
Un ejemplo real
Un inspector de diseño cambia la cuadrícula de cuatro columnas a cinco. El usuario no necesita escribir un número.
Partes principales
- 01Etiqueta persistente
- 02Input control
- 03Hint or format
- 04Validation message
Úsalo cuando
Úselo para un número con límites claros y pasos pequeños. Funciona mejor cuando las personas cambian uno o dos pasos a la vez.
No lo uses cuando
Evita rangos anchos o muy suaves y cambios grandes y rápidos. Añade un campo numérico cuando la gente deba escribir o comparar valores exactos.
Nombre usado en código
AppKit NSStepper / SwiftUI Stepper 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 Stepper (macOS Stepper). User context: Un inspector de diseño cambia la cuadrícula de cuatro columnas a cinco. El usuario no necesita escribir un número. macOS concept or control: macOS Stepper (macOS Stepper). Why it fits: Úselo para un número con límites claros y pasos pequeños. Funciona mejor cuando las personas cambian uno o dos pasos a la vez. Do not use it when: Evita rangos anchos o muy suaves y cambios grandes y rápidos. Añade un campo numérico cuando la gente deba escribir o comparar valores exactos. 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 Stepper (macOS Stepper) is used now. Definition: Un macOS Stepper tiene un botón para sumar y otro para restar. Cambia un valor entre los límites establecidos por un paso fijo. 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.