• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: creating a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >creating a window (From: James Mooney <email@hidden>)

  • Prev by Date: Re: Multiple windows
  • Next by Date: Re: NSBezierPath winding rules and glyphs
  • Previous by thread: creating a window
  • Next by thread: Re: creating a window
  • Index(es):
    • Date
    • Thread