ストーリーボードファイルをエンコードしたNSCoderで使用されるキーを取得する方法はありますか?PSTCollectionViewが文書化されていないキーを多数使用しているようですが、どのようにしてそれらを取得しましたか?
具体的には、UITableViewControllerがIBでUIRefreshControlを自動的に使用するように設定するときに使用するキーが必要です。
ストーリーボードファイルをエンコードしたNSCoderで使用されるキーを取得する方法はありますか?PSTCollectionViewが文書化されていないキーを多数使用しているようですが、どのようにしてそれらを取得しましたか?
具体的には、UITableViewControllerがIBでUIRefreshControlを自動的に使用するように設定するときに使用するキーが必要です。
XIB(XML Interface Builder)は、XMLで作成されたファイルです。
textEditまたはwordPadを使用して開くことができます。だから、問題は半分解決されました!!!
xib / nibファイルのxmlを読み取り、解析します。そこからすべてのキーを読んでください。
MainMenu.xibの一部
<?xml version="1.0" encoding="UTF-8"?> <archive
type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00">
<data> <int key="IBDocument.SystemTarget">1080</int>
<string key="IBDocument.SystemVersion">11D50</string>
<string key="IBDocument.InterfaceBuilderVersion">2457</string>
<string key="IBDocument.AppKitVersion">1138.32</string>
<string key="IBDocument.HIToolboxVersion">568.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="NS.object.0">2457</string>
</object>