Skip to content
Discussion options

You must be logged in to vote

Hey @aslios,

As usual, you need to create an instance of KeychainStorage first (either according to your needs or using the "default" one). It's not a static function in KeychainStorage but an actual method 😊

Your code becomes… 

let loginUser = getLastUser() // Assuming this gives you a string with the logged in user identifier.
let key = KeychainStorage<Secret>().find(matching: loginUser)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aslios
Comment options

@sbertix
Comment options

Answer selected by sbertix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants