I have an other problem with Xcode 4. I really like the new IDE but there are a few things I didn t get to work yet. One thing is to register Document Types with Xcode 4. I tried it with the old way through the plist file, but it didn t work. (Means I couldn t open a file with my app) But I don t now how to set it up with the interface of Xcode 4.
我最近尝试这样做:(把X条码输入胎儿。)
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.plain-text</string>
</array>
<key>UTTypeDescription</key>
<string>Configuration File</string>
<key>UTTypeIdentifier</key>
<string>com.myname.projec.iws</string>
</dict>
</array>
并且
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconFiles</key>
<array>
<string>AnIcon-320</string>
</array>
<key>CFBundleTypeName</key>
<string>Config File</string>
<key>LSItemContentTypes</key>
<array>
<string>com.myname.projec.iws</string>
</array>
</dict>
</array>
这并不可行。 《邮报》的档案确实有选择,可以随同传阅。
是否有任何人以Xcode 4为工作榜样,或是怎样做的辅导。 我对如何开展工作没有任何进一步的想法。
Sandro