一.swift中闭包 swift中的闭包格式 1 2 3 4 { (parameters) -> return type in statements } 1. swift block, without any arguments and without return value 1 2 3 4 5 6 7 8 9 typealias funcBlockA = () -> () typealias funcBlockAA = () -> Void var _funcBlockA:funcBlockA = { () ->