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 PROTECTED]> wrote:

> From: Graham Cox <[EMAIL PROTECTED]>
> Subject: Re: NSWindowController
> To: [EMAIL PROTECTED]
> Cc: cocoa-dev@lists.apple.com
> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to