こんにちは。きんくまです。 自分でクロージャーを使ったメソッドを作りたかったときに、@escapingのことをよくわからなかったので調べたメモです。 参考サイト >> The Swift Programming Language (Swift 4): Closures >> What Do @escaping and @noescape Mean In Swift 3 @escapingしない場合 まず、@escapingしないクロージャーの場合を作ってみました。 class MathUtil{ var num1:Int var num2:Int init(num1:Int, num2:Int){ self.num1 = num1 self.num2 = num2 } //クロージャーの返り値を10倍する func tenTimes(equation:((Int, Int)->Int))