NSXMLParser to UITableView

Discussion in 'iPhone/iPad Programming' started by bradnet, May 22, 2011.

  1. macrumors newbie

    Joined:
    Mar 8, 2010
    #1
    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
     
  2. macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #2
    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
     

Share This Page