Swift library for persistent storage on iOS and OS X