Legacy nibs containing views served by new IB plug-in not recognized
Legacy nibs containing views served by new IB plug-in not recognized
- Subject: Legacy nibs containing views served by new IB plug-in not recognized
- From: Martin-Gilles Lavoie <email@hidden>
- Date: Wed, 29 Oct 2008 09:43:35 -0400
Now that I have a functioning Interface Builder (3) plug-in for one of
our custom views, I found out the IB doesn't let me edit those legacy
NIB objects with my new inspector because of the way it encodes the
object's XML representation in the nib bundle.
Custom views given our view type, "OhViewStacker", got saved using
containers such as:
<object class="NSCustomView" id="695194798">
...
<string key="NSClassName">OhViewStacker</string>
</object>
whereas new NIB content created using our plugin end up having a
container such as:
<object class="OhViewStacker" id="210503889">
...
</object>
So, other than editing the NIB XML data by hand (wich seems to
work ...), is there a way for IB to actually clean itself up and
correct the NIB files?
It's because we have a *whole lot* of those and I'm facing a long
editing period...
Martin-Gilles Lavoie | Senior software developer | 514.905.8658
Oracle - Macintosh Native Desktop Client, Beehive
600, boul. de Maisonneuve West, Suite 1900 | Montréal (Québec) H3A 3J2
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden