クロージャ#2

定義
private func getSampleText(message:String,callBackClosure:(Bool,String)->Void) {
    //do something
    callBackClosure(true,"メッセージ:\(message)")
}

実行
self.getSampleText("ぽえーん", callBackClosure: { (result, resultMessage) -> Void in
    println("result:\(result) message:\(resultMessage)")
})