• 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: NSWindowController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindowController


  • Subject: Re: NSWindowController
  • From: Chris Idou <email@hidden>
  • Date: Mon, 15 Sep 2008 22:34:44 -0700 (PDT)

OK, but if you had the window controller in the NIB, then you wouldn't be calling NSWindowController initWithWindowNibName:owner: in the first place. So the mystery of this API remains.


--- On Mon, 9/15/08, Graham Cox <email@hidden> wrote:

> From: Graham Cox <email@hidden>
> Subject: Re: NSWindowController
> To: email@hidden
> Cc: email@hidden
> Date: Monday, September 15, 2008, 9:50 PM
> On 16 Sep 2008, at 2:45 pm, Chris Idou wrote:
>
> > I see. But if some other object was the File's
> Owner, then how would
> > you link the Window to the window Outlet of the Window
> Controller,
> > which I presume is necessary?
>
>
> You'd still have the window controller object in your
> nib, it just
> wouldn't be File's Owner. So the controller
> object's window outlet
> would be set normally, and File's Owner would likely
> have some other
> outlet linking to the window controller object(s).
> File's Owner can be
> any object at all from the Nib's perspective - it
> doesn't have to be a
> window controller.
>
>
> Graham



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSWindowController
      • From: Graham Cox <email@hidden>
References: 
 >Re: NSWindowController (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Outlet from Different Implementation?
  • Next by Date: Re: NSWindowController
  • Previous by thread: Re: NSWindowController
  • Next by thread: Re: NSWindowController
  • Index(es):
    • Date
    • Thread