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?
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.