macOS Segmented Control
macOS Segmented Control
macOS Segmented Control は、くっついた選択肢が短く並んだものだよ。表示、フィルター、密接に関連するモードを切り替えるよ。
もう一つの例
Finder風のブラウザーは、ツールバーのボタンでアイコン、リスト、カラム、ギャラリー表示を切り替えられます。
主な部分
- 01可視ラベル
- 02Interaction target
- 03Current state
- 04Keyboard behavior
以下の場合に使用します
少数の同等のモードやフィルターで短いラベルの場合にこれを使用してください。各選択は近くの同じコンテンツを素早く変更する必要があります。
以下の場合は使用しないでください
長すぎるラベルや改行されたラベル、選択肢が多すぎる場合、関連のない目的地は避けてください。効果は別の確認の後まで隠さないでください。
コードで使用する名前
NSSegmentedControl / SwiftUI Picker with segmented style 出荷前に
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:Finder風のブラウザーは、ツールバーのボタンでアイコン、リスト、カラム、ギャラリー表示を切り替えられます。 macOS concept or control:macOS Segmented Control (macOS Segmented Control)。 Why it fits:少数の同等のモードやフィルターで短いラベルの場合にこれを使用してください。各選択は近くの同じコンテンツを素早く変更する必要があります。 Do not use it when:長すぎるラベルや改行されたラベル、選択肢が多すぎる場合、関連のない目的地は避けてください。効果は別の確認の後まで隠さないでください。 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):その情報源にとって公式です。他のプラットフォームやチームはその用語を別の方法で使用する場合があります。 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.
このリクエストを確認する
Review how macOS Segmented Control (macOS Segmented Control) is used now. Definition: macOS Segmented Control は、くっついた選択肢が短く並んだものだよ。表示、フィルター、密接に関連するモードを切り替えるよ。 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.