Code Monkey home page Code Monkey logo

ios-swiftui-tca-example's Introduction

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.

ios-swiftui-tca-example's People

Contributors

dfalmeida avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-swiftui-tca-example's Issues

Snapshot tests failing

First of all thank you for the great example repo!

Is there a specific device snapshot tests should be passing?

When I ran on Xcode 13.4.1 (13F100) with iPhone 12 Pro all snapshots tests fail with minor differences to images:

image
image

This one looks completely black:
difference_3_7C1DAF00-6BEA-4626-B3B3-3022DBBFE948

and when I use auto levels in preview it shows:
image

complete test results archive:
Test-Staging-2022.07.05_21-08-33--0700.xcresult.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.