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

Storm9

macrumors member
Original poster
Dec 1, 2007
94
18
Does anyone know how I can get data like say text from a website and use that in my program?
 

dejo

Moderator emeritus
Sep 2, 2004
15,982
452
The Centennial State
dynamically, basically say I want to get stock quotes from finance.yahoo.com
You can either use NSURLRequest to retrieve the HTML and then parse out what you need or you can see if they have some kind of XML feed (and use NSXMLParser) or a JSON feed (and use the JSON library that you can find references to floating around this forum).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.