Just a request for a quick sanity check please.
Just a request for a quick sanity check please.
- Subject: Just a request for a quick sanity check please.
- From: Alex Zavatone <email@hidden>
- Date: Tue, 14 Jul 2015 11:27:49 -0400
I'm looking at some Cocoa spaghetti that seems to violate all the laws or reason and I'd just appreciate some verification that "there is no reason whatsoever that a sane Cocoa developer would ever do this" before I go and change this code.
Am I correct in assuming that there is no rational reason why a sane person would force an NSURLRequest and NSURLConnection to run on the main thread with a dispatch_sync for an operation that should not block the UI and doesn't need to be sync?
Why would someone force an NSURLConnection to run on the main thread?
My brain hurts looking at this.
It's too early in the day to want a third cup of coffee.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden