Outline View
Outline View
Uma Visão em Árvore é uma lista cujas linhas abrem itens filhos no mesmo lugar e mantêm a seleção. Também pode mostrar mais de uma coluna de dados.
Outro exemplo
Um navegador de projetos abre as pastas sem mudar de tela e as organiza por nome. Quem usa o teclado pode passar por centenas de arquivos.
Partes principais
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
Use-o quando
Use-o para uma árvore grande que precisa de linhas para abrir no lugar, seleção, navegação pelo teclado, classificação ou colunas extras.
Não o use quando
Evite usar para listas curtas e planas ou um caminho passo a passo. Use colunas separadas quando elas explicam um local melhor.
Nome usado no código
AppKit NSOutlineView / SwiftUI OutlineGroup Antes de lançar
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 Outline View (Outline View). User context: Um navegador de projetos abre as pastas sem mudar de tela e as organiza por nome. Quem usa o teclado pode passar por centenas de arquivos. macOS concept or control: Outline View (Outline View). Why it fits: Use-o para uma árvore grande que precisa de linhas para abrir no lugar, seleção, navegação pelo teclado, classificação ou colunas extras. Do not use it when: Evite usar para listas curtas e planas ou um caminho passo a passo. Use colunas separadas quando elas explicam um local melhor. 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): É oficial para essa fonte. Outras plataformas ou equipes podem usar o termo de outra maneira. 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.
Conferir este pedido
Review how Outline View (Outline View) is used now. Definition: Uma Visão em Árvore é uma lista cujas linhas abrem itens filhos no mesmo lugar e mantêm a seleção. Também pode mostrar mais de uma coluna de dados. 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.