UIAlertActionについて、 (action: UIAlertAction) in
の部分がどう動いているのかが分かりません。
クロージャへの理解が浅いのも有ると思います。
これはUIAlertActionに何をどう渡して、どう帰ってきているのでしょうか?
###ソースコード
let cancelAction = UIAlertAction( title: "Cancel", style: .cancel){ (action: UIAlertAction) in }
投稿2017/02/20 03:43
UIAlertActionについて、 (action: UIAlertAction) in
の部分がどう動いているのかが分かりません。
クロージャへの理解が浅いのも有ると思います。
これはUIAlertActionに何をどう渡して、どう帰ってきているのでしょうか?
###ソースコード
let cancelAction = UIAlertAction( title: "Cancel", style: .cancel){ (action: UIAlertAction) in }
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。