Comment on How to instantiate subclass of NSDocumentController? Thank you very much for the detailed explanation! I will remove the code before NSApplicationMain() and create an instance of my subclass in applicationWillFinishLaunching: method. UI Frameworks AppKit Sep ’24