Helpful code commonly used in the apps to simplify things.
Storing and retrieving data in Keychain.
Keychain.set(string: "my key", service: "app.service")
let key = Keychain.get("app.service")
Atomic property wrapper for concurrent reading and synchronized writing. Based on pthread_rwlock.
@RWAtomic var array: [String] = []
_array.mutate {
$0.append("new")
}
Ilya Kuznetsov – i.v.kuznecov@gmail.com
Distributed under the MIT license. See LICENSE
for more information.