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

Is the keychain data read and write operation synchronized? #112

Open leiguang opened 6 years ago

leiguang commented 6 years ago

When I operate in different threads or the same thread, multiple consecutive writes and reads, do I need to pay attention to the synchronization of data. Thank you!

NikKovIos commented 6 years ago

I've noticed, that if i store something and immediately retrieve from other function, it not manage to return appropriate value.