I’ve been working on a few Swift projects lately, and I found myself needing a simple wrapper for the keychain API, so I wrote Latch: A Swift 2.x compatible keychain wrapper that runs on iOS, OS X, and watchOS.

It’s API is quite simple, you can set and retreive NSData for any given key, and provides convenience setters around String’s, and NSCoding-conforming objects.

You can get the source on GitHub or peruse the documentation here.