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