Iphone Web apllication to recieve an XML from an API and display it contents
I am developing an web application w开发者_如何学JAVAhere i need to 1)hit an url with username and password 2)get authenticated 3)pass parameters to another url(API)_ 4)which will return me an xml 5)I have to parse that and display its contents in ma web app.
Kindly help me with small sample code and details. Advance in thanks , Gans.
This isn't how Stack Overflow works. You need try and write this code yourself. If you get stuck or can't resolve an issue you're having ask a targetted, specific question.
Additionally, there's a lot of sample code within Apple's Xcode documentation facility (nearly all of the various class reference docs have code samples attached) so it would be trival for you to find out such information yourself.
As a starter for ten, I'd recommend looking at:
- NSURLConnection
- Tree-Based XML Programming Guide (See the "Traversing an XML Tree" section.)
精彩评论