On May 27, 2014, at 10:23 AM, Mills, Steve wrote:

> On May 23, 2014, at 19:28:32, Ken Thomases <[email protected]> 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 protected])

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

This email sent to [email protected]

Reply via email to