Re: receptionist pattern question: NSOperationQueue vs. GCD
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