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.
Did you know arguments in Swift functions can have more than one name? Which is great for making functions self-documenting with sensible naming conventions. Open a Swift Playground and try this.
Learn to use CocoaPods in Your Swift Applications
You should consider using CocoaPods to save development time and reinventing the wheel each time in your applications.
Learn how to access files in an iOS application bundle at run time using Swift. It is a lot easier than you think.
Errors are bad, you need to know how to handle them. At times you even need to create your own errors. So let's take a look at throwing and catching in Swift.