iOS教程中的Xml解析 [英] Xml parsing in iOS tutorial

查看:72
本文介绍了iOS教程中的Xml解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我正在创建一个应用程序,必须在服务器中的xml文件中打印标签中的值。我尝试在google搜索下阅读一些文档..但是我找不到它...有没有人知道简单的教程或用于在我的应用程序中集成xml解析的任何示例代码。

Hi i'm creating an app which have to print a value in label from an xml file in server.I tried reading some of documentation under google search..but i can't find it...Does any one know simple tutorial or any sample code that is used to integrate xml parsing in my app.

推荐答案

使用TBXml解析器。这就是最简单的方法,也减少了解析值的时间..您可以在 github 上下载TBXMLDemo项目并打印而不是标签你可以使用表视图单元格,并使其选择为null。所以它看起来像label.If你需要更多的细节评论我,...我会帮助它..

Use TBXml parser..That is the easiest way and also less time taken to parse a value..U can download TBXMLDemo project on github and to print that instead of label u can use table view cell and make it selection as null.So that it looks simillarly like label.If u need more details comment me,..i'll be helping it..

这篇关于iOS教程中的Xml解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆