Saving user settings with userDefaults on macOS using Swift
<b>Saving app settings to make life easier</b><br/><p>Nobody likes repetition, well most people at least. So setting the path to store a file more than once is wrong, here's a solution.</p>
How To Save and Load Your iOS Application Settings Using UserDefaults in Swift 3
Saving and loading user settings in your application is a simple process thanks to UserDefaults. I will show you how to achieve this in Swift 3 with just a few lines of code.