• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Just a request for a quick sanity check please.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: WebView.stopLoading
  • Next by Date: AfxIsValidAddress
  • Previous by thread: WebView.stopLoading
  • Next by thread: Re: Just a request for a quick sanity check please.
  • Index(es):
    • Date
    • Thread