DISCLAIMER: This post is older than one year and maybe out of date.

How To Save and Load Your iOS Application Settings Using UserDefaults in Swift 3