• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Legacy nibs containing views served by new IB plug-in not recognized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Legacy nibs containing views served by new IB plug-in not recognized
      • From: Jonathan Hess <email@hidden>
  • Prev by Date: Re: Can't include objective c file in carbon project
  • Next by Date: re: Custom Platforms for Xcode
  • Previous by thread: Re: Noob asks: Why the diff in symbol names between my dylib and a test executable?
  • Next by thread: Re: Legacy nibs containing views served by new IB plug-in not recognized
  • Index(es):
    • Date
    • Thread