读blocksprogrammingguide看到一句:idlocalVariable=instanceVariable;dispatch_async(queue,^{//localVariableisusedbyvalue,localVariableisretained(notself)doSomethingWithObject(localVariable);});想请教,为何更换一个指针后,localVariable就是值类型了呢?
idlocalVariable=instanceVariable;dispatch_async(queue,^{//localVariableisusedbyvalue,localVariableisretained(notself)doSomethingWithObject(localVariable);});想请教,为何更换一个指针后,localVariable就是值类型了呢?
dispatch_async(queue,^{//localVariableisusedbyvalue,localVariableisretained(notself)doSomethingWithObject(localVariable);});想请教,为何更换一个指针后,localVariable就是值类型了呢?
//localVariableisusedbyvalue,localVariableisretained(notself)doSomethingWithObject(localVariable);});想请教,为何更换一个指针后,localVariable就是值类型了呢?
doSomethingWithObject(localVariable);});想请教,为何更换一个指针后,localVariable就是值类型了呢?
});想请教,为何更换一个指针后,localVariable就是值类型了呢?
想请教,为何更换一个指针后,localVariable就是值类型了呢?
当年话下
慕妹3242003
相关分类