Is there any external library using which one can edit and save XML files for an iPhone application?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
A rather good way to handle XML on the iPhone is using the KissXML library hosted at http://code.google.com/p/kissxml
Using a DDXMLDocument object will allow you to get the data with - (NSData *)XMLData
You can write NSData easily to a file using writeToURL:atomically:
or writeToFile:atomically:
as described in the Apple documentation