Don\'t know a whole lot about blocks. How would you go about mimicking a repeating NSTimer with dispatch_after()? My problem is that I want to \"pause\" a timer when the app moves to the background, b
As the NSOperationQueue Class Reference said: In iOS, operation queues do not use Grand Central Dispatch to execute operations. They create separate threads for non-concurrent operations and launch co
I would like to pass in different blocks into a method. The method would subsequently use the passed in block as parameter to dispatch_async.
URLs in the array are called one after another. Should it not be called all at once, like nsoperationqueue? Please help me here, Thanks
I need to run a complex (ie long) task after the user clicks on a button. The button opens a sheet and the long running operation is started using dispatch_async and other Grand Central Dispatch stuff
I\'m trying to display a UIAlertView after some time (like 5 minutes after doing something in the app). I\'m already notifying the user if the app is closed or in background. But I want to display a U
I am writing an application which downloads very much JSON data from the internet. My app needs to parse this JSON data and afterwards return the retrieved objects to a self-made delegate.
I have a working implementation using Grand Central dispatch queues that (1) opens a file and computes an OpenSSL DSA hash on \"queue1\", (2) writing out the hash to a new \"side car\" file for later
I have a task that runs periodically and it was originally designed to run on a separate run loop than the main runloop using NSThread and NSTimer.
One Apple\'s site, there\'s suggested pattern for using GCD queues instead of locks: // Create queue early