Re: creating a window
Re: creating a window
- Subject: Re: creating a window
- From: j o a r <email@hidden>
- Date: Sun, 23 Mar 2003 18:33:19 +0100
One way to do this is to have a window controller per window. Create a
window controller subclass with the outlets need for the window, and
tell it to use your nib file. Opening new windows will now be as easy
as creating new instances of your window controller class. Look in the
documentation of NSWindowController for more information.
j o a r
On Sunday, Mar 23, 2003, at 16:55 Europe/Stockholm, James Mooney wrote:
After spending a day mucking the waters, I am posting again and
rewording my initial question.
In IB, I create a window. When running the app, the window opens.
Not using a "Document" project template, How do you take and create a
new window exactly as the first window opened up when the app first
starts. (the event listeners are alive ie the buttons in the windows
work and textfield or other stuff are alive as well ect) Would it be
correct to say that I want to create a new instance of a Nib based
window. I attempted to try calling the method of the [NSApplication
loadNibFile:@"mynibwindow.nib" owner:self] << am I getting warm?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.