Q:

Receive data from NSURLConnection periodically

I am using NSURLConnection to receive some data (in JSON) and do some work (e.g. write data to a label) in connectionDidFinishLoading method. What I want is, this should happen e.g. every two seconds. That is, ReceiveData > WriteDataToLabel > Wait 2 seconds > ReceiveData ...
In other words, I want to update my data every two seconds. Of course, this should be done in background not to block app.
What should be done? Do I need runloop, nstimer or NSOperation and how should I use them?

A:

Okey, I learned that you can do this using NSTimer. It is pretty easy.
Check out this link: https://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/Timers/Timers.html
(You may also consider @Aaron's words)

