Exporting custom class names from ibtool
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: [<IBUIButton 0x100683dc0> 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