macOS Menu Bar
macOS Menu Bar
macOSのメニューバーは、画面の上部にある帯です。アクティブなアプリは、そこに明瞭なメニューで全てのコマンドを配置します。
もう一つの例
文章を書くアプリは、「新規」「書き出し」「検索」やウィンドウのコマンドを、いつもの「ファイル」「編集」「ウィンドウ」メニューに置きます。
主な部分
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
以下の場合に使用します
アプリの完全なコマンドセットをここに置きます。メニュー名で見つけるコマンドやキーボードショートカットで実行するコマンドを含めます。
以下の場合は使用しないでください
ウィンドウ内のナビゲーションにそれを使用しないでください。ここにはコマンドを保持してください(ツールバーやコンテキストメニューにあっても)。現在の状態に依存するコマンドは更新してください。
コードで使用する名前
AppKit NSMenu / SwiftUI Commands 出荷前に
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 Menu Bar (macOS Menu Bar)。 User context:文章を書くアプリは、「新規」「書き出し」「検索」やウィンドウのコマンドを、いつもの「ファイル」「編集」「ウィンドウ」メニューに置きます。 macOS concept or control:macOS Menu Bar (macOS Menu Bar)。 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 Menu Bar (macOS Menu Bar) is used now. Definition: macOSのメニューバーは、画面の上部にある帯です。アクティブなアプリは、そこに明瞭なメニューで全てのコマンドを配置します。 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.