Prashant Cholachagudda
Prashant Cholachagudda

Reputation: 13092

How to use XMLHttpRequest in Objective-C?

I'm creating easy to use kannada comic reader on mac for my cousins. I'm able to pull the comic pages, but lot of meta content exchanged webpage and server using XMLHttpRequest.

I'm finding difficulties use XMLHttpRequest, could anyone tell me how can I use it?

Upvotes: 0

Views: 1638

Answers (1)

Peter Hosey
Peter Hosey

Reputation: 96323

The closest thing to a simple XMLHttpRequest is to create a data object from a URL.

For more advanced requests (e.g., custom headers, request methods that aren't GET), you'll need to use NSURLConnection. You should probably do that anyway; your application will be more robust and more responsive for it.

Upvotes: 1

Related Questions