My Cocoa app needs some small dynamically generated windows. How can I programmatically create Cocoa windows at runtime?
This is my non-working attempt so far. I see
Try
[window makeKeyAndOrderFront:self];
instead of
[window display];
Is that what you're aiming for?