macOS Stepper
macOS Stepper
Ein macOS Stepper hat eine Taste zum Addieren und eine zum Abziehen. Es ändert einen Wert mit festen Grenzen um einen festgelegten Schritt.
Ein echtes Beispiel
Ein Layout-Inspektor ändert das Raster von vier auf fünf Spalten. Der Nutzer muss keine Zahl tippen.
Hauptteile
- 01Persistentes Label
- 02Input control
- 03Hint or format
- 04Validation message
Verwenden Sie es, wenn
Verwenden Sie es für eine Zahl mit klaren Grenzen und kleinen Schritten. Es funktioniert am besten, wenn die Leute ein oder zwei Schritte auf einmal ändern.
Nutze es nicht, wenn
Vermeide breite oder stufenlose Bereiche und große, schnelle Sprünge. Füge ein Zahlenfeld hinzu, wenn Leute exakte Werte eingeben oder vergleichen müssen.
In Code verwendeter Name
AppKit NSStepper / SwiftUI Stepper Vor dem Ausliefern
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: Ein Layout-Inspektor ändert das Raster von vier auf fünf Spalten. Der Nutzer muss keine Zahl tippen. macOS concept or control: macOS Stepper (macOS Stepper). Why it fits: Verwenden Sie es für eine Zahl mit klaren Grenzen und kleinen Schritten. Es funktioniert am besten, wenn die Leute ein oder zwei Schritte auf einmal ändern. Do not use it when: Vermeide breite oder stufenlose Bereiche und große, schnelle Sprünge. Füge ein Zahlenfeld hinzu, wenn Leute exakte Werte eingeben oder vergleichen müssen. 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 ist offiziell für diese Quelle. Andere Plattformen oder Teams können den Begriff auf andere Weise verwenden. 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.
Diese Anfrage prüfen
Review how macOS Stepper (macOS Stepper) is used now. Definition: Ein macOS Stepper hat eine Taste zum Addieren und eine zum Abziehen. Es ändert einen Wert mit festen Grenzen um einen festgelegten Schritt. 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.