Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dirtyhenry/swift-hoods
🏘️ A collection of my Swift building blocks with dependencies.
https://github.com/dirtyhenry/swift-hoods
swift swift-composable-architecture swift-dependencies swiftui
Last synced: 6 days ago
JSON representation
🏘️ A collection of my Swift building blocks with dependencies.
- Host: GitHub
- URL: https://github.com/dirtyhenry/swift-hoods
- Owner: dirtyhenry
- License: mit
- Created: 2023-10-23T17:13:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-04T19:26:56.000Z (2 months ago)
- Last Synced: 2024-10-30T17:24:28.547Z (16 days ago)
- Topics: swift, swift-composable-architecture, swift-dependencies, swiftui
- Language: Swift
- Homepage: https://swiftpackageindex.com/dirtyhenry/swift-hoods
- Size: 2.96 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
![swift-hoods logo](https://raw.githubusercontent.com/dirtyhenry/swift-hoods/main/swift-hoods.jpg)
# 🏘️ Hoods
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fdirtyhenry%2Fswift-hoods%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/dirtyhenry/swift-hoods)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fdirtyhenry%2Fswift-hoods%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/dirtyhenry/swift-hoods)A collection of my Swift building blocks that are using few well known
dependencies, such as [The Composable Architecture][2], as opposed to
[Blocks][1], my collection of dependency-free Swift code.This repository contains:
- `Hoods`: a Swift library for my development needs;
And the following examples executables/apps:
- `HoodsApp`: a basic App using `swift-hoods` within an app.
## Usage
```swift
import Hoods
```## Installation
Swift Package Manager is recommended:
```swift
dependencies: [
.package(
url: "https://github.com/dirtyhenry/swift-hoods",
from: "main"
),
]
```Next, add `Hoods` as a dependency of your test target:
```swift
targets: [
.target(name: "MyTarget", dependencies: [
.product(name: "Hoods", package: "swift-hoods")
])
]
```## License
[MIT](https://choosealicense.com/licenses/mit/)
[1]: https://github.com/dirtyhenry/swift-blocks
[2]: https://github.com/pointfreeco/swift-composable-architecture