I'd like to conditionally enable/disable items in the menubar on Catalyst based on a value in a View Controller across multiple windows.
I can use the validate(_:) method to enable/disable the menubar item based on the command but need a way to do it based on the on-screen View Controller.
Any ideas?