evgenyneu / keychain-swift

Helper functions for saving text in Keychain securely for iOS, OS X, tvOS and watchOS.
MIT License
2.85k stars 345 forks source link

Add @Sendable conformance to KeychainSwift class #186

Open theoks opened 8 months ago

theoks commented 8 months ago

I took a look at the KeychainSwift implementation and it seems (unless I'm missing something) that it's thread safe since it's using a NSLock for synchronization.

This means that it could conform to Sendable, thus making modern concurrency adoption easier.