• 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
Exporting custom class names from ibtool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exporting custom class names from ibtool


  • Subject: Exporting custom class names from ibtool
  • From: Thomas Engelmeier <email@hidden>
  • Date: Tue, 5 Oct 2010 19:02:44 +0200

I'm writing some post-processing for comparing a slew of iPad and iPhone xibs and'd like to compare the classes instantiated.

However, ibtool complains about the custom-class key I try to extract:

ibtool failed with exception: [&lt;IBUIButton 0x100683dc0&gt; valueForUndefinedKey:]: this class is not key value coding-compliant for the key custom-class.

Commandline:

ibtool --export <properties.plist> <xibfile>

with properties.plist containing:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
	<dict>
		<key>IBUIView</key>
		<array>
			<string>className</string>
			<string>custom-class</string>
			<string>tag</string>
			<string>autoresizingMask</string>
			<string>hidden</string>
		</array>
	</dict>
</plist>

How can I extract the class used? Do I need to filter down the output of ibtool --objects?

TIA,
	Tom_E _______________________________________________
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: Exporting custom class names from ibtool
      • From: Christiaan Hofman <email@hidden>
  • Prev by Date: Re: Static Analyzer Question -- Suppressing Message in Special Circumstances
  • Next by Date: Re: Exporting custom class names from ibtool
  • Previous by thread: Re: Making an installer package (locations and, owner/group)
  • Next by thread: Re: Exporting custom class names from ibtool
  • Index(es):
    • Date
    • Thread