Tag Archives: NSUTF8StringEncoding

Advantages of NSURLSession over NSURLConnection in iOS and Sample Demo Code

By | April 2, 2016

In an application we usually works with Data tasks – Data tasks are used for requesting data from a server, such as JSON data. These data are usually stored in memory and never touches the File System We can use NSURLSessionDataTask. Upload Tasks – Upload tasks are used to upload data to a remote destination.… Read More »

Send Data to server in iOS using POST OR GET – A Simple Example

By | February 14, 2016

First Make sure you have this kind of layout and you have linked all the views to their respective variables. For server side I am using XAMPP for Localhost for now and My php file will be residing in Applications ▸ XAMPP ▸ xamppfiles ▸ htdocs You can download “XAMPP For Mac” from this link.… Read More »