AtomicProperty
Example
// Classic Setup
var atomicProperty = AtomicProperty<Int>(value: 0, lock: Mutex())
// Using with property wrapper
@Atomic(lock: SpinLock()) var age = 36
// ExpressibleByIntegerLiteral
var literal: AtomicProperty<Int> = 4Requirements
Installation
AtomicProperty is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'AtomicProperty'Author
alikiran, [email protected]
License
AtomicProperty is available under the MIT license. See the LICENSE file for more info.