Contour is a special implementation method. What you want to do is work in the background without blocking your user interface.
There are two main methods on iOS and Mac OS X: running loops and threads.
URL- HTTP, , , , . URL concurrency , .
, , , NSOperationQueue NSOperatipn, GCD (dispatch_ *) NSThread. , , () ..
URL- NSURLDownload concurrency. , NSOperation.