jrendel / SwiftKeychainWrapper

A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift.
MIT License
1.59k stars 340 forks source link

Use throwing functions instead of returning a boolean #145

Open jksk opened 4 years ago

jksk commented 4 years ago

We're seeing a small amount of unreproducible failures in production. If something goes wrong, the boolean return value doesn't tell you why. A throwing function contains more information that can be used for debugging.

jrendel commented 4 years ago

@jksk Sorry I have no been maintaining this. I just went through and merged a bunch of PRs. If you want to update the conflicts now I can merge this in.

jksk commented 4 years ago

I updated the PR.