Skip to content

Instantly share code, notes, and snippets.

@blackgold9
Created November 20, 2012 00:15
Show Gist options
  • Save blackgold9/4115078 to your computer and use it in GitHub Desktop.
Save blackgold9/4115078 to your computer and use it in GitHub Desktop.
AFIamgeRequestOperation modification
static dispatch_queue_t af_image_request_operation_processing_queue;
static dispatch_queue_t image_request_operation_processing_queue() {
if (af_image_request_operation_processing_queue == NULL) {
af_image_request_operation_processing_queue = dispatch_queue_create("com.alamofire.networking.image-request.processing", 0);
dispatch_set_target_queue(af_image_request_operation_processing_queue, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0));
}
return af_image_request_operation_processing_queue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment