Swift-函数闭包Closure 闭包原型应该是OC中的block 还记得block的写法嘛 int (^myBlock)(int, int) = ^(int a, int b) { return a + b; };