開発には避けて通れないデバッグの方法。Swiftの便利なデバックの仕方を説明します。私はphpを利用していましたので、dump処理が無いのが わかりずらいなぁとの経験がありましたので何か同じ悩みにがある人がいれば助けになれば嬉しいです 参考:How do I list (po) the contents of a Swift Array? 参考:Swift Debugging Tips 参考:Xcode Debugger: view value of variable ダンプ処理(dumpに似た処理) いろんな方法があります。Consoleでp(Rawダンプ=print)やpo(Objectダンプ=print description of the object), frame variableのfr vコマンドなんかもあります。 UIViewControllerの場合 println Vi
![Debugを上手に使って作業効率をあげる - Swiftサラリーマン](https://cdn-ak-scissors.b.st-hatena.com/image/square/ef3a0487c32dc5dafab645e25ed396a1ddab3c93/height=288;version=1;width=512/http%3A%2F%2Fswift-salaryman.com%2Ffiles%2Fimage%2Fdebug_1.png)