Mike2012
Mike2012

Reputation: 7725

Where to implement methods for menu item that is not window dependent (Cocoa OSX

I currently implement most of the functions for my mainMenu in a NSWindowController subclass, this works fine for most functions but I would like to be able to use some menu items when no Window is selected. Where would be the best place to implement and validate these kind of menu items?

Upvotes: 1

Views: 135

Answers (1)

SSteve
SSteve

Reputation: 10738

I would put those in my NSApplication delegate.

Upvotes: 1

Related Questions