CocoaPods trunk is moving to be read-only. Read more on the blog, there are 11 months to go.

AtomicProperty 1.0.0

AtomicProperty 1.0.0

Maintained by ALiKiran.



  • By
  • alikiran

AtomicProperty

Travis Cocoapods Carthage License Platform

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> = 4

Requirements

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.