ReadMe.md
# MenuItemView |
## Description |
MenuItemView is a Cocoa sample application that demonstrates how to embed an NSView inside an NSMenuItem in macOS. This sample is intended to show how this is done with various user interface elements such as controls and the menu bar. |
In the menu bar, "Custom" will contain the menu with embedded NSViews. This same menu can also be found in the main window's controls as well as in the image view's contextual menu. It is designed to show how this menu can be applied to different areas of the user interface. |
Keep in mind should you choose to share this menu in different areas (like in this sample), that you cannot share the same menu instance among the various places. You need to makes copies of the menu and its embedded views where ever you apply them. |
## Requirements |
### Build |
macOS SDK 10.12.2 or later. |
### Runtime |
macOS 10.0 or later |
Copyright (C) 2006-2017 Apple Inc. All rights reserved. |
Copyright © 2017 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2017-03-09