¡@

Home 

2014/10/15 ¤U¤È 10:03:42

iphone Programming Glossary: aperson

How to assign a variable inside a block to a variable outside a block?

http://stackoverflow.com/questions/7962721/how-to-assign-a-variable-inside-a-block-to-a-variable-outside-a-block

to a variable outside a block I'm getting a Variable is not assignable missing __block type specifier in the line aPerson participant . How can I make sure the block can access to the aPerson variable and the aPerson variable can be returned.. missing __block type specifier in the line aPerson participant . How can I make sure the block can access to the aPerson variable and the aPerson variable can be returned Person aPerson nil participants enumerateObjectsUsingBlock ^ id obj NSUInteger.. specifier in the line aPerson participant . How can I make sure the block can access to the aPerson variable and the aPerson variable can be returned Person aPerson nil participants enumerateObjectsUsingBlock ^ id obj NSUInteger idx BOOL stop Person..