撰寫 Swift 程式時我們習慣利用 print 列印東西,幫助我們 debug。其實 print 還有另一個叫 debugPrint 好兄弟。debugPrint 人如其名,它專精 debug,因此有時可以印出更方便我們 debug…