• 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
Re: NSData DataWithContentsOfURL within a protocol handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSData DataWithContentsOfURL within a protocol handler


  • Subject: Re: NSData DataWithContentsOfURL within a protocol handler
  • From: Jean Suisse <email@hidden>
  • Date: Thu, 06 Sep 2012 16:55:22 +0200

Hi,

Fritz Anderson is right. We can only agree.
And recently, they made following Jens Alfke's advice incredibly easy.
Just post a block to one of the available dispatch queues (not the one running on your main thread thought) and let it run its curse.

Jean

On 6 sept. 2012, at 16:36, Fritz Anderson wrote:

> From what Google tells me, you got a prompt response from Jens Alfke, a very experienced Cocoa-networking programmer, explaining why what you're doing shouldn't be expected to work. Are you looking for a workaround, or just for somebody who will give you better news? I don't think better news is in the cards.


On 29 août 2012, at 22:58, Jens Alfke wrote:

> If you must use a synchronous API, spawn a new thread to run it on.
>




_______________________________________________

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


  • Follow-Ups:
    • Re: NSData DataWithContentsOfURL within a protocol handler
      • From: Dan S <email@hidden>
References: 
 >Re: NSData DataWithContentsOfURL within a protocol handler (From: danchik <email@hidden>)
 >Re: NSData DataWithContentsOfURL within a protocol handler (From: Fritz Anderson <email@hidden>)

  • Prev by Date: View based outline view and custom NSTableCellViews
  • Next by Date: Cocoa/Xcode/Graph Tutorial Movie
  • Previous by thread: Re: NSData DataWithContentsOfURL within a protocol handler
  • Next by thread: Re: NSData DataWithContentsOfURL within a protocol handler
  • Index(es):
    • Date
    • Thread