MenuItemView: Embedding an NSView inside an NSMenuItem
Last Revision: | Version 3.0, 2017-03-09 Upgraded to OS X 10.12.2 SDK, replaced deprecated APIs, now uses ARC and Storyboards, upgraded to use the modern Objective-C syntax, ImageAssets. (Full Revision History) |
Build Requirements: | mac OS 10.12.2 SDK or later. |
Runtime Requirements: | mac OS 10.11 or later. |
"MenuItemView" is a Cocoa application that demonstrates embedding NSViews inside NSMenuItems. This sample is intended to show how this is done with various user interface elements such as controls as well as with the application's menu bar.
Copyright © 2017 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2017-03-09