Swift UserDefaults の synchronize() は不要

https://developer.apple.com/documentation/foundation/userdefaults/1414005-synchronize

Waits for any pending asynchronous updates to the defaults database and returns; this method is unnecessary and shouldn't be used.

かつては UserDefaults でアプリの設定値の永続化をする際に synchronize() を呼び出して、内容を同期して保存していたが、現在は「不要であり、呼び出すべきではない」に変わっていたのでメモ。