ganesh
ganesh

Reputation: 1

Iphone Web apllication to recieve an XML from an API and display it contents

I am developing an web application where 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.

Upvotes: 0

Views: 55

Answers (1)

John Parker
John Parker

Reputation: 54445

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:

  1. NSURLConnection
  2. Tree-Based XML Programming Guide (See the "Traversing an XML Tree" section.)

Upvotes: 1

Related Questions