significa / ios-swiftui-tca-example

PokemonCards - SwiftUI + Composable Architecture Example
102 stars 6 forks source link

PokemonCards - SwiftUI + Composable Architecture Example

This repository has a small example using the swift-composable-architecture and the Pokemon TGC API. This also inspired this Coletiv Blog post

🚧 Dependencies

🏎 Kickstart

Initial setup

  1. Install SwiftLint brew install swiftlint
  2. Install SwiftFormat pre-commit hook following this
    • If you are using the SourceTree client please also follow this link
  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 website.