• 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: receptionist pattern question: NSOperationQueue vs. GCD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: receptionist pattern question: NSOperationQueue vs. GCD


  • Subject: Re: receptionist pattern question: NSOperationQueue vs. GCD
  • From: Preston Sumner <email@hidden>
  • Date: Wed, 15 Feb 2012 14:05:44 -0700

On Feb 15, 2012, at 12:32 PM, Matt Neuburg wrote:

> This might be another way of phrasing the same question: why does the new iOS 5 method +[NSURLConnection sendAsynchronousRequest:queue:completionHandler:] want an NSOperationQueue as its queue rather than a dispatch queue? m.

In OS X 10.6 and up, NSOperationQueue is implemented using GCD, and I assume the same is true in iOS 5. It's typically best to go with the highest level API available unless you have a specific reason not to.

Preston
_______________________________________________

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


References: 
 >Re: receptionist pattern question: NSOperationQueue vs. GCD (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Block Behavior
  • Next by Date: Re: Custom UIView drawing but can't figure out when/where it's loading
  • Previous by thread: Re: receptionist pattern question: NSOperationQueue vs. GCD
  • Next by thread: Re: receptionist pattern question: NSOperationQueue vs. GCD
  • Index(es):
    • Date
    • Thread