0
double(^simpleBlock)(double,int, double) = ^(double n3,int n1,double n2){
NSLog(@"Block with Three parameter");
return n1*n2*n3;
iPhone和iPhone中的塊和函數有什麼區別。哪一個更好。
double(^simpleBlock)(double,int, double) = ^(double n3,int n1,double n2){
NSLog(@"Block with Three parameter");
return n1*n2*n3;
iPhone和iPhone中的塊和函數有什麼區別。哪一個更好。
塊用於在後臺線程上工作。
也給一些更多的差異。 – 2014-09-29 06:35:08
也用作補充處理程序。 – 2014-10-01 05:32:56