Pop-Up vs Pull-Down vs Combo Box
Pop-Up vs Pull-Down vs Combo Box
これらは3つの小さな選択コントロールです。ポップアップボタンは現在の値を1つ表示します。プルダウンボタンはコマンドを実行します。コンボボックスでは値を入力することもできます。
もう一つの例
印刷ダイアログは、用紙サイズにポップアップを使うよ。プリセットの選択にはプルダウンを使うよ。コンボボックスは、使い回せる自分用の名前を受け取るよ。
主な部分
- 01永続ラベル
- 02Input control
- 03Hint or format
- 04Validation message
以下の場合に使用します
目的で選択してください。現在の値にはポップアップを使用します。コマンドにはプルダウンを使用します。リスト化または入力された値にはコンボボックスを使用します。
以下の場合は使用しないでください
見た目だけで選ばないでください。また、コマンドと保存された値を混ぜないでください。安全なのはチェックされたオプションだけである場合、自由入力は許可しないでください。
コードで使用する名前
NSPopUpButton / NSComboBox / SwiftUI Picker and Menu 出荷前に
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 Pop-Up vs Pull-Down vs Combo Box (Pop-Up vs Pull-Down vs Combo Box)。 User context:印刷ダイアログは、用紙サイズにポップアップを使うよ。プリセットの選択にはプルダウンを使うよ。コンボボックスは、使い回せる自分用の名前を受け取るよ。 macOS concept or control:Pop-Up vs Pull-Down vs Combo Box (Pop-Up vs Pull-Down vs Combo Box)。 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 Pop-Up vs Pull-Down vs Combo Box (Pop-Up vs Pull-Down vs Combo Box) is used now. Definition: これらは3つの小さな選択コントロールです。ポップアップボタンは現在の値を1つ表示します。プルダウンボタンはコマンドを実行します。コンボボックスでは値を入力することもできます。 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.