Credentials storage — simple and secure

Paul Ardeleanu
Paul Ardeleanu’s Blog
1 min readDec 8, 2015

Credentials storage is a must for most projects — in this example I’ve used Daniel Tomlinson’s Swift keychain wrapper, Latch, to store and retrieve a username and password combination.

I’ve encapsulated the functionality into a struct for easier consumption:

--

--

Paul Ardeleanu
Paul Ardeleanu’s Blog

iOS & Web engineer, trainer and coach - with a dash of UX & UI.