{"id":13338724,"url":"https://github.com/orchetect/OTAtomics","last_synced_at":"2025-03-11T10:31:49.968Z","repository":{"id":103425674,"uuid":"459323569","full_name":"orchetect/OTAtomics","owner":"orchetect","description":"Multi-platform Swift thread-safe atomics library","archived":false,"fork":false,"pushed_at":"2025-01-27T22:35:05.000Z","size":45,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T13:38:35.374Z","etag":null,"topics":["atomic","atomics","ios","ios-swift","macos","swift","swift-5","swift-5-5","tvos","watchos"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orchetect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"orchetect"}},"created_at":"2022-02-14T20:58:27.000Z","updated_at":"2025-01-27T22:35:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"66d31b41-9730-46e5-b4a2-558f1902bd7c","html_url":"https://github.com/orchetect/OTAtomics","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2FOTAtomics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2FOTAtomics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2FOTAtomics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2FOTAtomics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orchetect","download_url":"https://codeload.github.com/orchetect/OTAtomics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243015440,"owners_count":20222082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atomic","atomics","ios","ios-swift","macos","swift","swift-5","swift-5-5","tvos","watchos"],"created_at":"2024-07-29T19:17:08.831Z","updated_at":"2025-03-11T10:31:49.369Z","avatar_url":"https://github.com/orchetect.png","language":"Swift","funding_links":["https://github.com/sponsors/orchetect"],"categories":[],"sub_categories":[],"readme":"# OTAtomics\n\n[![CI Build Status](https://github.com/orchetect/OTAtomics/actions/workflows/build.yml/badge.svg)](https://github.com/orchetect/OTAtomics/actions/workflows/build.yml) [![Platforms - macOS 10.10+ | iOS 9+ | tvOS 9+ | watchOS 2+ | visionOS 1+](https://img.shields.io/badge/platforms-macOS%2010.10+%20|%20iOS%209+%20|%20tvOS%209+%20|%20watchOS%202+%20|%20visionOS%201+-lightgrey.svg?style=flat)](https://developer.apple.com/swift) ![Swift 5.3-6.0](https://img.shields.io/badge/Swift-5.3–6.0-orange.svg?style=flat) [![Xcode 12-16](https://img.shields.io/badge/Xcode-12–16-blue.svg?style=flat)](https://developer.apple.com/swift) [![License: MIT](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat)](https://github.com/orchetect/OTAtomics/blob/main/LICENSE)\n\nMulti-platform Swift thread-safe atomics library.\n\nThe library has full unit test coverage and is actively used in production.\n\n## Installation: Swift Package Manager (SPM)\n\n### Dependency within an Application\n\n1. Add the package to your Xcode project using Swift Package Manager\n   - Select File → Swift Packages → Add Package Dependency\n   - Add package using  `https://github.com/orchetect/OTAtomics` as the URL.\n2. Import the module in your *.swift files where needed.\n   ```swift\n   import OTAtomics\n   ```\n\n### Dependency within a Swift Package\n\n1. In your Package.swift file:\n\n   ```swift\n   dependencies: [\n       .package(url: \"https://github.com/orchetect/OTAtomics\", from: \"1.0.0\")\n   ],\n   ```\n   \n2. Using `internal import` prevents the methods and properties in `OTOperations` from being exported to the consumer of your SPM package.\n\n   ```swift\n   internal import OTAtomics\n   ```\n\n## Documentation\n\nMost methods are implemented as category methods so they are generally discoverable.\n\nAll methods have inline help explaining their purpose and basic usage examples.\n\n## Author\n\nCoded by a bunch of 🐹 hamsters in a trenchcoat that calls itself [@orchetect](https://github.com/orchetect).\n\n## License\n\nLicensed under the MIT license. See [LICENSE](https://github.com/orchetect/OTAtomics/blob/master/LICENSE) for details.\n\n## Contributions\n\nBug fixes and improvements are welcome. Please open an issue to discuss prior to submitting PRs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forchetect%2FOTAtomics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forchetect%2FOTAtomics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forchetect%2FOTAtomics/lists"}