Atomicable
Atomicable is a handy property wrapper that makes modifying properties an atomic operation via the use of locks.
Adapted from and inspired by Mattt.
Specs
- iOS 12+
- tvOS 12+
- watchOS 3+
- macOS 10.12+
- Swift 4.2+
Installation
Cocoapods
pod 'Atomicable', '~> 1.0'
Then import Atomicable
where needed.
Carthage
github "BellAppLab/Atomicable" ~> 1.0
Then import Atomicable
where needed.
Swift Package Manager
dependencies: [
.package(url: "https://github.com/BellAppLab/Atomicable", from: "1.0")
]
Then import Atomicable
where needed.
Git Submodules
cd toYourProjectsFolder
git submodule add -b submodule --name Atomicable https://github.com/BellAppLab/Atomicable.git
Then drag the Atomicable
folder into your Xcode project.
Author
Bell App Lab, [email protected]
Credits
Logo image by P Thanga Vignesh from The Noun Project
License
Atomicable is available under the MIT license. See the LICENSE file for more info.