iPhone SDK:Editing XML files
Is there any exte开发者_开发知识库rnal library using which one can edit and save XML files for an iPhone application?
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
精彩评论