简体   繁体   English

如何从Soap结果填充Xcode中的TableView

[英]How to populate tableview in xcode from soap results

I have a soap result with this form: 我有这种形式的肥皂结果:

<root>
  <a> 
    <b> string </b>
    <c> int</c>
    <d> string </d>
  </a>
  <a> 
    <b> string </b>
    <c> int</c>
    <d> string </d>
  </a> /......

So can anyone tell me how to populate tableview? 那么谁能告诉我如何填充tableview?

Parse the value in tags "b","c","d" store in a dictionary then add parsed content between "a" tag in an array. 解析字典中存储的标签“ b”,“ c”,“ d”中的值,然后在数组的“ a”标签之间添加已解析的内容。 Display that in TableView. 在TableView中显示。 If you are not familiar with XML parsing in objective -C search for NSXMLParser or XML parsing objective-C iphone in google.com 如果您不熟悉目标-C中的XML解析,请在google.com中搜索NSXMLParser或XML解析目标-C iphone

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM