On Thu, Aug 6, 2015 at 9:31 AM, Jens Alfke <j...@mooseyard.com> wrote:

> As far as I know, there’s no good Cocoa solution for super-simple
> persistence — something like a persistent NSDictionary that can efficiently
> store any number of keys. This would be pretty easy to implement using a
> bare-bones key/value store like Berkeley DB, Tokyo Cabinet, LevelDB, LMDB,
> ForestDB, etc. (You can even use SQLite with a very simple key/value
> schema.)
>

It's not Apple-provided, but YapDatabase (
https://github.com/yapstudios/YapDatabase) is a key-value store implemented
on top of SQLite that's usable on iOS and OS X, and which I've seen
recommended a lot in this sort of conversation, and which should be much
easier to adopt that another cross-platform binary store. It also has lots
of extensions to support things like querying and change notifications.

For the record, I agree that it's probably overkill in this instance.

(Also, I'll note for the record that Tokyo/Kyoto Cabinet aren't going to be
usable in an App Store app without a commercial license.)

Sixten
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to