Swiftのpreconditionとassertの使い分け - Qiita
precondition と assert は似ているので、どういうケースでどちらを使うべきか意識してないと不適切な使い方をしてしまいます。本投稿では、 precondition と assert …