https://github.com/bellapplab/atomicable
Atomic property wrappers for thread-safety and peace of mind
https://github.com/bellapplab/atomicable
Last synced: 5 months ago
JSON representation
Atomic property wrappers for thread-safety and peace of mind
- Host: GitHub
- URL: https://github.com/bellapplab/atomicable
- Owner: BellAppLab
- License: mit
- Created: 2020-10-23T10:14:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-28T10:51:15.000Z (about 5 years ago)
- Last Synced: 2025-02-23T16:51:56.936Z (about 1 year ago)
- Language: Swift
- Homepage:
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Atomicable [](#installation) [](#license)
[](#installation)
[](#swift-versions-support)
[](https://cocoapods.org/pods/Atomicable)
[](https://github.com/Carthage/Carthage)
[](https://github.com/apple/swift-package-manager)
[](http://twitter.com/BellAppLab)

Atomicable is a handy property wrapper that makes modifying properties an atomic operation via the use of locks.
Adapted from and inspired by [Mattt](https://github.com/mattgallagher/CwlUtils).
## Specs
* iOS 12+
* tvOS 12+
* watchOS 3+
* macOS 10.12+
* Swift 4.2+
## Installation
### Cocoapods
```ruby
pod 'Atomicable', '~> 1.0'
```
Then `import Atomicable` where needed.
### Carthage
```swift
github "BellAppLab/Atomicable" ~> 1.0
```
Then `import Atomicable` where needed.
### Swift Package Manager
```swift
dependencies: [
.package(url: "https://github.com/BellAppLab/Atomicable", from: "1.0")
]
```
Then `import Atomicable` where needed.
### Git Submodules
```shell
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, apps@bellapplab.com
### Credits
[Logo image](https://thenounproject.com/search/?q=explosion&i=933208) by [P Thanga Vignesh](https://thenounproject.com/amoghdesign/) from [The Noun Project](https://thenounproject.com/)
## License
Atomicable is available under the MIT license. See the LICENSE file for more info.