Waiting until two async blocks are executed before starting another block
When using GCD, we want to wait until two async blocks are executed and done before moving on to the next steps of … Read more
When using GCD, we want to wait until two async blocks are executed and done before moving on to the next steps of … Read more
I have a working app and I’m working on converting it to ARC in Xcode 4.2. One of the pre-check warnings involves capturing … Read more
Block syntax in Objective C (and indeed C, I presume) is notoriously incongruous. Passing blocks as arguments looks different than declaring blocks as … Read more
Is it possible to have blocks as properties using the standard property syntax? Are there any changes for ARC? 8 Answers 8
I’m getting an error Variable is not assignable (missing __block type specifier) on the line aPerson = participant;. How can I make sure … Read more
What exactly does the __block keyword in Objective-C mean? I know it allows you to modify variables within blocks, but I’d like to … Read more
Is there a way to call a block with a primitive parameter after a delay, like using performSelector:withObject:afterDelay: but with an argument like … Read more