Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

ReCombine/ReCombine-Example-SwiftUI

Repository files navigation

Scoreboard Example App

This basic scoreboard application uses ReCombine with SwiftUI.

The following user actions are possible:

  • Selecting the home "Score" button adds one point to the home score.
  • Selecting the away "Score" button adds one point to the away score.
  • Selecting the "Post Score" button triggers an API call to post the score.

This example app shows:

  • Defining actions, state, reducers, selectors.
  • Registering a global Effect to make an asynchronous API call.
  • Registering a local Effect to show an Alert.
  • Testing reducers, selectors, and effects.
  • Testing store-dependent view models.

Screen Shot 2020-02-18 at 11 26 08 PM

About

ReCombine Example Project using SwiftUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages