I am developing a Mac app using storyboards. I have a window that presents an NSViewController
as its contents, which contains a "container view controller" that embeds an NSSplitViewController
.
The expected behaviour is for the NSSplitViewController
to be part of the responder chain, such that a menu item that triggers the toggleSidebar
action on the first responder actually collapses the item of the NSSplitViewController
that's marked as a sidebar.
However, this simply does not happen and the menu item remains disabled. So my question is, how can-I get the NSSplitViewController
to be part of the responder chain?