Tag Archives: completionHandler

Advantages of NSURLSession over NSURLConnection in iOS and Sample Demo Code

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. We can use… Read More »

Using “BackgroundFetch” in iOS to do task in the Background.

Hi Friends, Here is a simple way to do background task in iOS using “BackgroundFetch”. We will just try to send a message to the UI when a new data arrives in the background. You can do anything there you want. To enable “BackgroundFetch” in your app, you have to do some modifications in your project. Go to… Read More »

Contacts Demo in Swift 2 – Showing Contacts Picker, Load Contacts in Custom TableView, Add New Contact, Update Contact, Delete Contact, Search Contact

In Today’s post I will show you How to do below things in Swift 2… 1. Show Contact Picker using System In-Built UI & Pick a Contact 2. Load all Contacts in a TableView 3. Search a Contact 4. Add a New Contact 5. Update a Contact 6. Delete a Contact Before using the contacts we need to… Read More »

Google Maps – iOS, Location tracking, Custom Markers, Multiple Markers StreetView, CameraView, IndoorView, Showing Route in Maps etc…

You know for using Google Maps,we need an API Key. You can check Google Maps for Android here… So for that we need to register in Google Developer Console.     Once you get your API Key. we can start with Integrating Google Maps in our app. I am going to show how we can integrate The Google… Read More »