Re: Exporting custom class names from ibtool
Re: Exporting custom class names from ibtool
- Subject: Re: Exporting custom class names from ibtool
- From: Christiaan Hofman <email@hidden>
- Date: Tue, 5 Oct 2010 19:15:47 +0200
On Oct 5, 2010, at 19:02, Thomas Engelmeier wrote:
> 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
"custom-class" is a not a valid property name, as it contains a dash.
Christiaan
_______________________________________________
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