Reputation: 1
Iam new to ios development and in my app i want to fetch data from remote server database to my application.please tell me how to do this. Thank you in advance.
Upvotes: 0
Views: 1653
Reputation: 3761
You can use a REST API. Which is the best and fast. JSON is normally better than XML because is more compact.
you can also use this very light weightlib: JNRestClient
Upvotes: 0
Reputation: 6445
For that purpose, you can use webservice either JSON or XML. You can study about JSON parsing from the below link
http://www.raywenderlich.com/5492/working-with-json-in-ios-5
Upvotes: 2
Reputation: 10201
The usual practice is to expose some RESTful webservices which extend the data from database to a mobile application.
Upvotes: 1