Re: Moving connections to File's Owner to another object
Re: Moving connections to File's Owner to another object
- Subject: Re: Moving connections to File's Owner to another object
- From: Brock Brandenberg <email@hidden>
- Date: Sat, 08 Feb 2003 15:15:51 -0600
>
> I have an NSWindowController subclass that is the File's Owner in a nib. Due
>
> to design changes, I need to pull out much of the subclass functionality and
>
> move it to another object that will be instantiated in the same nib. This new
>
> object will declare most of the outlets that the File's Owner previously did.
>
> With other instantiated objects, you can simply change subclass types to
>
> effectively do this. Is there an easy way to move connections from the File's
>
> Owner to another object other than doing them manually one by one?
>
>
I apologize for having to say this but the answer is: no.
Thanks. I pretty much assumed/knew the answer, but was hoping that one of
the Cocoa veterans might know a trick to do it :) The list view in the
Instances tab makes the job a bit safer in that you can see all of the
connections, insuring that you don't miss one. Doing it from the icon view
is simply not reasonable since most of the connections are inherently hidden
from view unless the target objects are open and selected.
It's too bad that File's Owner isn't a property that can simply be assigned
to a top level object in the nib. Makes for a good feature request, though.
Brock Brandenberg
----- industrial design @ www.bergdesign.com ------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.