iPhone SDK:Editing XML files

流过昼夜 提交于 2019-12-25 03:39:32

问题


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



来源:https://stackoverflow.com/questions/1558339/iphone-sdkediting-xml-files

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!