I have a window with a split view, on one side containing a CPTGraphHostingView. I have a custom subclass of NSVIewController that manages the view. The hierarchy is like this:
Window -> [ View A | View B ]
A direct subview of View B is a CPTGraphHostingView, and the controller in question manages View B. In the controller I have an IBAction (let's say "copyAThing:") that is implemented in the controller. I have a menu item in the main menu which is set to that action and the first responder as its target. I have this implemented in several view controllers and validateMenuItem: is called in each of these.
In this particular setup, validateMenuItem: is not called. There aren't too many places this can go wrong - I have the firstResponder set as the target, the action is implemented, and I'm running 10.11 so I know the controller should be in the responder chain. Is there maybe something in CPTGraphHostingView or in my graph that might be surpassing call? I tried subclassing View B (normally a plain NSView) to implement validateMenuItem: to see if it will be called there, but it's not. I have acceptsFirstResponder on the controller returning YES (though that shouldn't be needed), and I put a debug point in becomeFirstResponder:, which is never called.
I'm running 10.11 and the latest check out of Core Plot.
Any suggestions welcome!