title: Is the statement from 2014 (in Apple Docs) that NSMenuItem views are *not* supported in the Dock still valid in 2022?
body: <p>Is the statement from 2014 (in Apple Docs) that NSMenuItem views are <em>not</em> supported in the Dock still valid in 2022?</p>
  <p><a href="https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/MenuList/Articles/ViewsInMenuItems.html" rel="nofollow noreferrer">https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/MenuList/Articles/ViewsInMenuItems.html</a></p>
  <p>Views in Menu Items</p>
  <p>You can set the view for a menu item using NSMenuItem's setView: method (by default, a menu item has a nil view)—note, though, that menu item views are not supported in the Dock menu. The following code fragment illustrates how you can create a new menu and add it to your application’s menu bar</p>