RSS-How To?

Discussion in 'iOS Programming' started by help!!!!!, Dec 24, 2008.

  1. macrumors member

    Joined:
    Mar 30, 2008
    #1
    Hey,
    I am writing an app that includes RSS as the main feature. When the user taps the feed they want to see, the video will show up. What code do I need to put in a RSS feed? I know that there is a thing in Dashcode for this but I want this to be a full-fledged app in Xcode. Thx


    -Jonah
     
  2. macrumors regular

    xsmasher

    Joined:
    Jul 18, 2008
    #2
    You want to read an RSS stream, right? Then you want to look into how to use NSXMLParser, the built-in XML parsing object.

    It's not like reading XML in JavaScript or ActionScript - you don't load the whole document into a tree and then traverse the tree; instead you get a series of events for each tag. But it's really elegant once you get it.

    http://developer.apple.com/documentation/Cocoa/Conceptual/XMLParsing/XMLParsing.html
     

Share This Page