We had an argument about NSOperationQueue and GCD

My girlfriend told me today, NSOperationQueue is awesome, the bottom layer must be encapsulated GCDS.
I said, NSOperationQueue came out before GCD, so how do you wrap a GCD? The GCD came out around 2011.
We ended up fighting about it.
Can someone help me explain? thank you

NSOperationQueue is awesome

It is indeed.

NSOperationQueue came out before GCD, so how do you wrap a GCD?

NSOperationQueue was rewritten to use Dispatch a while back. I don’t remember exactly when but it’s not later when 10.10 when the oh-so-helpful underlyingQueue property was introduced.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
We had an argument about NSOperationQueue and GCD
 
 
Q