UNPKG

apple-hig-mcp

Version:

High-performance MCP server providing instant access to Apple's Human Interface Guidelines via hybrid static/dynamic content delivery

38 lines (28 loc) 2.81 kB
--- title: "Path Controls" platform: macOS category: foundations url: https://developer.apple.com/design/human-interface-guidelines/path-controls id: path-controls-macos lastUpdated: 2025-06-26T23:27:34.014Z extractionMethod: enhanced-turndown qualityScore: 0.591 confidence: 0.791 contentLength: 1641 structureScore: 0.500 cleaningScore: 0.112 hasCodeExamples: false hasImages: false keywords: ["path", "controls", "control", "shows", "file", "system", "selected", "folder", "example", "choosing"] --- ## Overview Path controls A path control shows the file system path of a selected file or folder. For example, choosing View > Show Path Bar in the Finder displays a path bar at the bottom of the window. It shows the path of the selected item, or the path of the window’s folder if nothing is selected. There are two styles of path control. Standard. A linear list that includes the root disk, parent folders, and selected item. Each item appears with an icon and a name. If the list is too long to fit within the control, it hides names between the first and last items. If you make the control editable, people can drag an item onto the control to select the item and display its path in the control. Pop up. A control similar to a pop-up button that shows the icon and name of the selected item. People can click the item to open a menu containing the root disk, parent folders, and selected item. If you make the control editable, the menu contains an additional Choose command that people can use to select an item and display it in the control. They can also drag an item onto the control to select it and display its path. Best practices Use a path control in the window body, not the window frame. Path controls aren’t intended for use in toolbars or status bars. Note that the path control in the Finder appears at the bottom of the window body, not in the status bar. Platform considerations Not supported in iOS, iPadOS, tvOS, visionOS, or watchOS. Resources Related File management Developer documentation NSPathControl AppKit Current page is Path controls Supported platforms Path controls Best practices Platform considerations Resources ## Related Concepts - button - toolbars --- **Attribution Notice** This content is sourced from Apple's Human Interface Guidelines: https://developer.apple.com/design/human-interface-guidelines/path-controls This content was extracted with good confidence. Structure and guidelines have been enhanced for better usability. © Apple Inc. All rights reserved. This content is provided for educational and development purposes under fair use. This MCP server is not affiliated with Apple Inc. and does not claim ownership of Apple's content. For the most up-to-date and official information, please refer to Apple's official documentation.