Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source Swift Library That Simplifies Working With The iOS Keychain

  •  
  •  
  •  
  •  
  •  

Working with the keychain can be very tedious, and here’s an open source Swift library for working with the keychain in Swift providing a number of great features called Locksmith from Matthew Palmer.

Locksmith provides a great API for working with Locksmith with a number of very useful enums and Swift-native types. You can also extend Locksmith to add custom functionality to your own types with Locksmith functionality built-in.

Here’s an example from the readme showing how one could save data with Locksmith:

try Locksmith.saveData(["some key": "some value"], forUserAccount: "myUserAccount")

You can find Locksmith on Github here.

A great 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