开发者

How to Read Parse XML in Objective C?

What framework I should use to grab XML 开发者_运维百科from a http and parse that?


Start here:

http://developer.apple.com/library/ios/#documentation/Cocoa/Reference/Foundation/Classes/NSXMLParser_Class/Reference/Reference.html

You can use the initWithContentsOfURL initializer to actually load the document from the HTTP source.


Try touchXML:

TouchXML is a lightweight replacement for Cocoa's NSXML* cluster of classes. It is based on the commonly available Open Source libxml2 library.

Here is a nice tutorial.

Source has moved a bit, can be found here

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜