Re: Interface Builder : moving a controller to File's Owner
Re: Interface Builder : moving a controller to File's Owner
- Subject: Re: Interface Builder : moving a controller to File's Owner
- From: Kyle Sluder <email@hidden>
- Date: Thu, 4 Mar 2010 15:21:34 -0800
On Thu, Mar 4, 2010 at 1:45 PM, David Geldreich <email@hidden> wrote:
> I am refactoring one big NIB file into smaller pieces. I copy/paste a
> WindowController object and a Window object in a new "empty" NIB.
Window controllers don't belong in nibs. You create them in code and
ask them to load a nib, at which point they fill in as File's Owner
(unless you use the variant in which you provide a different File's
Owner, but you almost never actually want to use that).
--Kyle Sluder
_______________________________________________
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