CustomMenus

Last Revision:
Version 1.4, 2012-10-04
Upgraded for the OS X 10.8 SDK, removed one build warning, App Sandboxing turned on.
(Full Revision History)
Build Requirements:
OS X 10.8 or later, Xcode 4.4 or later
Runtime Requirements:
OS X 10.6.x or later

This sample demonstrates several implementations of custom menus, including a popup menu with a custom view, and a custom "suggestions" popup window that behaves like a popup menu and properly handles user interactions accordingly. This sample was written as part of Session 145, "Key Event Handling in Cocoa Applications", for WWDC 2010.


Did this document help you? Yes It's good, but... Not helpful...