开发者

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> stri开发者_JAVA百科ng </d>
  </a> /......

So can anyone tell me how to populate tableview?


Parse the value in tags "b","c","d" store in a dictionary then add parsed content between "a" tag in an array. Display that in TableView. If you are not familiar with XML parsing in objective -C search for NSXMLParser or XML parsing objective-C iphone in google.com

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜