Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

help!!!!!

macrumors member
Original poster
Mar 30, 2008
99
0
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
 
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

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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.