PDA

View Full Version : NSXMLParser to UITableView




bradnet
May 22, 2011, 08:52 AM
Hi Guys


I've been trying to put an app together using two tutorials which i have listed below but i'm having trouble getting the cells to fill with the data parsed from the url.

I have run the NSLog inside the XMLParser file to read out all the elements to the console and they are showing fine but when i try to use the code on the xmlparser tutorial to display the content in the table i get nothing, could this be down to one tutorial being a tabbar and the other navigation controller which may mean i have somethings hooked up worng.

XMLParser
http://www.edumobile.org/iphone/ipho...g-an-xml-file/

http://www.youtube.com/watch?v=LBnPfAtswgw

Any help would be appreciated all the code can be found in these links.

Thanks
Brad



jnoxx
May 23, 2011, 01:57 AM
Don't have alot of time, so can't check out tutorials. but when u parse your object, do u make a seperate object, where u parse all the information in.
Let's say, you put all the "pieces" of your "car" into a "Car" object?
And try to fill your UITableViewCell with that Car object properties? :)

Regards