Friends is an iOS application that connects to a web service to get friends data.
Web Service:
The web service for the Friends project is available at the following links and the php/mysql files are here:
Consider that services are working as follows:
- myid is a parameter that should be used all the time, and it should be unique for you
- get_all?myid="12000": returns an array of friends
- add?myid="12000"&name="ahmed"&
age=50&phone="01222222"&image= ""&long:""&lat:""
- delete?myid="12000"&id=2
{
id:"1", name:"ahmed", age:21, phone:"1000200399", image:"", long:"", lat:""
}
,
{
id:"2", name:"mohamed", age:22, phone:"3882008848422", image:"", long:"", lat:""
}
Friend Data Preview:
Friends program opens with the list of all Friends.
When click on any cell, a new View will open with the data of this user.
Delete Friend:
Also you can go to the Edit Mode.
Also you can delete Friend from the table and also from the Database.
Add new Friend:
You can add new Friend.
Hide the Keyboard after editing.
Add the place on the map by clicking for 1 second on anyplace.
Finally Press Add.
Download code here.






