macOS Search Field
macOS Search Field
macOS Search Field は、検索のために作られたテキストボックスだよ。検索言葉を入れたり消したりするシステムのコントロールがあって、最近の検索を見せることもあるよ。
もう一つの例
ファイル名を入力すると、ソースリストが即座にフィルタリングされます。Escapeキーでクエリをクリアしてすべての項目を復元します。
主な部分
- 01永続ラベル
- 02Input control
- 03Hint or format
- 04Validation message
以下の場合に使用します
入力された単語が既知のセットを検索またはフィルタするときに使用します。結果は迅速に更新され、空の状態やクリア済み状態が明確に表示されるべきです。
以下の場合は使用しないでください
コマンド、ランダムフィルター、正確なデータフィールドを検索としてスタイル設定しないでください。遅いライブ検索を避けてください。結果に時間がかかるか、結果が変化し続ける場合は進捗を表示してください。
コードで使用する名前
AppKit NSSearchField / SwiftUI searchable 出荷前に
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 Search Field (macOS Search Field)。 User context:ファイル名を入力すると、ソースリストが即座にフィルタリングされます。Escapeキーでクエリをクリアしてすべての項目を復元します。 macOS concept or control:macOS Search Field (macOS Search Field)。 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 Search Field (macOS Search Field) is used now. Definition: macOS Search Field は、検索のために作られたテキストボックスだよ。検索言葉を入れたり消したりするシステムのコントロールがあって、最近の検索を見せることもあるよ。 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.