Get Updates By E-mail 

Article Written By:
Johann Dowa

iOS Library For The Keychain Providing Easy Querying/Saving, Secret Sharing And More

  •  
  •  
  •  
  •  
  •  

Late last year I mentioned a Swift library providing easy saving and reading from the keychain.

Here’s an open source library providing a nice lean and simple syntax for working with the iOS keychain called Valet from Square.

Valet provides a number of nice features beyond simple saving and reading from the keychain including secret sharing across devices with iCloud, protection of secrets with touch ID or passcode, and sharing of secrets between different applications.

Here’s an example from the readme showing how simple it is to read and write from the keychain with Valet:

NSString *const username = @"Skroob";
[myValet setString:@"12345" forKey:username];
NSString *const myLuggageCombination = [myValet stringForKey:username];

You can find Valet on Github here.

A nice library for working with the iOS keychain.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments