Serializing & Archiving Structs in Swift with Archiver

October 26, 2016 | Swift, Serialization, iOS, macOS

There are many options for persisting data between launches in Cocoa apps, including NSUserDefaults, NSKeyedArchiver / NSKeyedUnarchiver, Core Data, and a range of third-party frameworks. NSKeyedArchiver is a popular choice for projects that require more than the basic key-value storage . . .