I have this application with 3 classes: AppController, Profile, ProfileBuilder. I also need 3 windows: one for each class. I tried to save all 3 as subclasses of NSObject and apply initWithNibName to the WindowController variable of the NSWindowController class, but when I tried to output some values ββto each window, this did not work, and the window turned out as null using NSLog. I was wondering how best to manage multiple windows, possibly all from the same class as the AppWindowsController with at least some code in other classes, and, if possible, other classes as subclasses of NSObject, not NSWindowController, Therefore, if there is, perhaps, a way to remotely control the behavior of windows by adding at least code within certain classes in order to focus them most clearly and clearly on their content. Thanks, I hope I made it clear that I'm actually quite new to the Cocoa infrastructure.
source share