Implement iphone objective c code (the code will be used in my iOS project.) to request the following url and get result,
[login to view URL],GOOG&k=l10,c10,p20,g00,h00\&callback=parent.yfs_u1f&mktmcb=parent.yfs_mktmcb&gencallback=parent.yfs_gencb
It's a stream url, I tried it on web browser, but cannot return any result. The only way to get result is to run curl on command line by:
curl -s -o - -N '[login to view URL],GOOG&k=l10,c10,p20,g00,h00\&callback=parent.yfs_u1f&mktmcb=parent.yfs_mktmcb&gencallback=parent.yfs_gencb'
This command will return real-time stock information and keep streaming new result.
Now we need to make it work in iphone app also. More specifically, write a objective c code to request the url and listen to the stream, output result when new information is pushed. No need for UI, just the original functions.