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.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: