• 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: Showing a window from a second nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Showing a window from a second nib


  • Subject: Re: Showing a window from a second nib
  • From: Brian Luft <email@hidden>
  • Date: Sat, 05 Jan 2002 21:18:17 -0600

Hooray!

A colleague suggested that I clean my project and rebuild from scratch, and
that worked! I guess something might have gotten confused, I'm not sure. I
also did put in the code you suggested, Tom. It seems to make a bit more
sense than what I was doing.

Thanks. Brian

On 1/5/02 8:29 PM, "email@hidden" <email@hidden> wrote:
> Make AboutController be a subclass of NSWindowController instead of
> NSObject, then window will already be declared as an outlet and
> showWindow: will already be implemented.
>
> Then load the nib in when you construct the controller, not in
> showWindow.
>
> Here's how I normally handle the nib-windows with controllers...
> <clipped code>

--
Brian Luft
email@hidden
http://youma.cjb.net


References: 
 >Re: Showing a window from a second nib (From: email@hidden)

  • Prev by Date: Re: Tips on Reading TFM?
  • Next by Date: NSWindow tiers
  • Previous by thread: Re: Showing a window from a second nib
  • Next by thread: Re: Showing a window from a second nib
  • Index(es):
    • Date
    • Thread