DataPersistence is a drop in class that allows easy persistence of data using NSKeyedArchiver/NSKeyedUnarchiver.
DataPersistence has two class methods one to save data to disk and one to load data from disk.
To save data to disk call:
DataPersistence.saveData(data: AnyObject, directory: NSSearchPathDirectory, filename: String)
To load data from disk call:
DataPersistence.loadData(directory: NSSearchPathDirectory, filename: String)
Data Persistence is released under the MIT license.