macOS Alert
macOS Alert
macOS Alert は、大事な選択、失敗、状態を知らせるシステムのダイアログだよ。必ず気づいて、答えないといけないよ。
もう一つの例
未保存のドキュメントを閉じると、保存、キャンセル、または変更を破棄するかどうかが尋ねられます。最も安全なデフォルトは明確です。
主な部分
- 01トリガー
- 02Anchored or modal surface
- 03Focus boundary
- 04Dismiss path
以下の場合に使用します
現在の作業を安全に進める前に重要な条件が回答または選択を必要とする場合にのみ使用してください。
以下の場合は使用しないでください
日常的な成功メッセージ、回復可能なインライン検証、取り消し可能な操作の確認は避ける。繰り返されるアラートは、読まずに無視する癖を人々に教える。
コードで使用する名前
AppKit NSAlert / SwiftUI alert 出荷前に
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 Alert (macOS Alert)。 User context:未保存のドキュメントを閉じると、保存、キャンセル、または変更を破棄するかどうかが尋ねられます。最も安全なデフォルトは明確です。 macOS concept or control:macOS Alert (macOS Alert)。 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 Alert (macOS Alert) is used now. Definition: macOS Alert は、大事な選択、失敗、状態を知らせるシステムのダイアログだよ。必ず気づいて、答えないといけないよ。 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.