UNPKG

apple-hig-mcp

Version:

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

33 lines (25 loc) 2.84 kB
--- title: "Dock Menus" platform: macOS category: foundations url: https://developer.apple.com/design/human-interface-guidelines/dock-menus id: dock-menus-macos lastUpdated: 2025-06-26T23:27:14.918Z extractionMethod: enhanced-turndown qualityScore: 0.540 confidence: 0.740 contentLength: 1727 structureScore: 0.400 cleaningScore: 0.112 hasCodeExamples: false hasImages: false keywords: ["dock", "menus", "mac", "people", "secondary", "click", "app", "game", "icon", "reveal"] --- ## Overview Dock menus On a Mac, people can secondary click an app’s or game’s icon in the Dock to reveal a Dock menu, which presents both system-provided and custom items. The system-provided Dock menu items can vary depending on whether the app is open. For example, the Dock menu for Safari includes menu items for actions like viewing a current window or creating a new window. Note Although iOS and iPadOS don’t support a Dock menu, people can reveal a similar menu of system-provided and custom items called Home Screen quick actions when they long press an app icon on the Home Screen or in the Dock. For guidance, see Home Screen quick actions. Best practices As with all menus, you need to label Dock menu items succinctly and organize them logically. For guidance, see Menus. Make custom Dock menu items available in other places, too. Not everyone uses a Dock menu, so it’s important to offer the same commands elsewhere, like in your menu bar menus or within your interface. Prefer high-value custom items for your Dock menu. For example, a Dock menu can list all currently or recently open windows, making it a convenient way to jump to the window people want. Also consider listing a few of the actions that are most likely to be useful when your app isn’t frontmost or when there are no open windows. For example, Mail includes items for getting new mail and composing a new message in addition to listing all open windows. Platform considerations Not supported in iOS, iPadOS, tvOS, visionOS, or watchOS. Resources Related Menus Home Screen quick actions Developer documentation applicationDockMenu(\_:) AppKit Current page is Dock menus Supported platforms Dock menus Best practices Platform considerations Resources --- **Attribution Notice** This content is sourced from Apple's Human Interface Guidelines: https://developer.apple.com/design/human-interface-guidelines/dock-menus 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.