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 339 forks source link

Switching to standard #101

Closed ElectrumDevelopment closed 5 years ago

ElectrumDevelopment commented 6 years ago

let deviceID = KeychainWrapper.defaultKeychainWrapper.string(forKey:"userID") as String!

Thats what my code is right now.

If I switch to let deviceID = KeychainWrapper.standard.string(forKey:"userID") as String! will it be an empty key?

crashoverride777 commented 6 years ago

No, it will not be an empty key, it will return the same value as before