Re: Figuring out the file's owner class
Re: Figuring out the file's owner class
- Subject: Re: Figuring out the file's owner class
- From: Ken Thomases <email@hidden>
- Date: Tue, 27 May 2014 10:49:26 -0500
On May 27, 2014, at 10:23 AM, Mills, Steve wrote:
> On May 23, 2014, at 19:28:32, Ken Thomases <email@hidden> wrote:
>
>> I doubt it's possible to learn the design-time-specified class from the objects of the loaded NIB. The technique you outline doesn't make sense. The window from the NIB won't have a controller if the controller was File's Owner and you passed nil for the owner when you loaded the NIB. You just told the NIB-loading machinery to connect the window to nothing.
>
> That doesn't seem to be the case, because it does work.
Then the window's controller is some real object in the NIB and not File's Owner. If you're also using a window controller as the owner of the NIB when it's loaded, then you're doing something wrong.
Regards,
Ken
_______________________________________________
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