Created
September 6, 2012 15:13
-
-
Save lukeredpath/3657222 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSOperation *op1 = /* get operation */; | |
| NSOperation *op2 = /* get operation */; | |
| [op1 addDependency:op2]; | |
| [queue addOperation:op1]; | |
| [queue addOperation:op2]; | |
| // op1 seems to run before op2, and if I don't add op2, op1 runs anyway |
Author
Author
Fixed it - NSOperation subclass was defining isReady without calling super.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Breakpoint inside op1's start method: