Reputation: 976
I would just like to know how to create ("instance") a new NSWindow in a Mac OSX application via it's Objective-C code.
Upvotes: 3
Views: 3062
Reputation: 54445
Have you taken a look at the "Creating Windows" section of the NSWindow class reference - it tells you pretty much all you need to know about creating windows programmatically.
Additionally, there's quite a bit of sample code (see the "Related sample code" section at the top of the above link) if you're after examples.
Upvotes: 4