Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/significa/ios-swiftui-tca-example
PokemonCards - SwiftUI + Composable Architecture Example
https://github.com/significa/ios-swiftui-tca-example
Last synced: 3 months ago
JSON representation
PokemonCards - SwiftUI + Composable Architecture Example
- Host: GitHub
- URL: https://github.com/significa/ios-swiftui-tca-example
- Owner: significa
- Created: 2021-01-29T16:36:04.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T16:49:22.000Z (over 1 year ago)
- Last Synced: 2024-05-19T12:13:15.871Z (6 months ago)
- Language: Swift
- Size: 23 MB
- Stars: 100
- Watchers: 9
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-tca - PokemonCards - SwiftUI + Composable Architecture
README
# PokemonCards - SwiftUI + Composable Architecture Example
This repository has a small example using the [swift-composable-architecture](https://github.com/pointfreeco/swift-composable-architecture) and the [Pokemon TGC API](https://pokemontcg.io). This also inspired [this](https://github.com/pointfreeco/swift-composable-architecture) Coletiv Blog post
## 🚧 Dependencies
- [swift-composable-architecture](https://github.com/pointfreeco/swift-composable-architecture) (`~> 0.9.0`)
- [Kingfisher](https://github.com/onevcat/Kingfisher) (`~> 5.15.8`)
- [SnapshotTesting](https://github.com/pointfreeco/swift-snapshot-testing) (`~> 1.8.2`)## 🏎 Kickstart
### Initial setup
1. Install [SwiftLint](https://github.com/realm/SwiftLint) `brew install swiftlint`
2. Install [SwiftFormat](https://github.com/nicklockwood/SwiftFormat) pre-commit hook following [this](https://github.com/nicklockwood/SwiftFormat#git-pre-commit-hook)
- If you are using the SourceTree client please also follow [this link](https://github.com/typicode/husky/issues/390#issuecomment-577008221)
3. Use the `.xcodeproj` file to open the Xcode project
4. Go to the `.xconfig` files under `PokemonCards/Resources/Configs` and insert your API Key on `API_KEY` var. You can get yours from the [Pokemon TGC](https://dev.pokemontcg.io/) website.