I am first time implementing json in my app.
and in my app I have to pass parameters from my app to webservice and according to that i can get response from web service but I am not able to find any tutorial in which I can pass parameters from my app in ios5
so is there any tutorial on net from which I can get tutorial which is useful to me.
I tried to find using google but i did not succeed.
Following steps follow for the integrate the json in to our project.
1) Copy paste the below file into your project.
2) Create new Group name as help which contain the following files.
3) Create the new file into Support Files which is name as a constant.h
4) Change the above the variable link where is your web service exist that means url of your webservice ”WEB_SERVICE_URL”
5) Open “Rest.h” file and create the one method.
6) Open “Rest.m” file and which argument to pass to server that method to code.
7) now the Rest application is ready for the send the request and then now this method call in to our view controller.
Following code put into the “viewWillAppear” method in .h file
Following code put into the “viewWillAppear” method in .m file and import “Rest.h”.
Then the reply comes into server that time object store into the variable that time we create the metod which calls.
Download the source code From Here