UIView.animateWithDuration(2, animations: { NSLog("start") }, completion: { (Bool completion) in if completion { NSLog("completion") } else { } }) 好像没有block了,现在用闭包代替