开发者

iphone , how to parse a xml file [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:开发者_开发技巧

iPhone XMLParser help

hi.. since im new to iphone, i dont know how to parse a xml file. can anyone help me out


Take a look at NSXMLParser http://developer.apple.com/library/ios/#documentation/Cocoa/Reference/Foundation/Classes/NSXMLParser_Class/Reference/Reference.html It should help you out..


This is a sample code from Apple.. It shows the difference between All XML parsers available..

http://developer.apple.com/library/ios/#samplecode/XMLPerformance/Introduction/Intro.html

For a newbie it will be real helpfull..Feel free to use it..


It's quite old, but you should read http://www.raywenderlich.com/553/how-to-chose-the-best-xml-parser-for-your-iphone-project This can help you.

Or open Xcode's help (Xcode - Help - Documentation and API Reference) and search for SeismicXML. This is sample from iOS SDK. There are also samples like XMLBrowser, XMLPerformance, ...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜