我是 iPhone 的新开发者。我在主包中有一个 plist 文件(名为“Favorites”)。
我需要为 20 个字典项编写具有以下结构的数据。我该怎么写?
<array>
<dict>
<key>PubDate</key>
<date>2011-08-12T23:15:12Z</date>
<key>ImageName</key>
<string>abc.png</string>
<key>Title</key>
<string>ABCDEF</string>
<key>Description</key>
<string>Suggestions?</string>
</dict>
<dict>
<key>PubDate</key>
<date>2011-08-12T23:15:12Z</date>
<key>ImageName</key>
<string>abc.png</string>
<key>Title</key>
<string>ABCDEF</string>
<key>Description</key>
<string>Suggestions?</string>
</dict>
<dict>
<key>PubDate</key>
<date>2011-08-12T23:15:12Z</date>
<key>ImageName</key>
<string>abc.png</string>
<key>Title</key>
<string>ABCDEF</string>
<key>Description</key>
<string>Suggestions?</string>
</dict>