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: "email@hidden" <email@hidden>
- Date: Fri, 5 Mar 2010 13:14:54 +0000
On 5 Mar 2010, at 12:23, David Geldreich wrote:
>> 1. Decompose your monster nib as required.
>> 2. In IB select Files's Owner and display the Identity Inspector.
>> 3. Set the class to that of your custom window controller.
>> 4. Now hook up your nib targets and actions to the File's Owner.
>
> The problem is precisely 4), how do I move all the connections (like 80 or more) that were done between WindowController and Window, so they are between File's Owner and Window ?!
>
I don't know if IB can help with this beyond the decomposition - ask on the xcode list.
One approach might be to open the .xib file directly and attempt to refactor the connections textually.
How successful this might be I don't know.
Regards
Jonathan Mitchell
Developer
http://www.mugginsoft.com_______________________________________________
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